‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Functional\Command\CliCommandTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\Command\CliCommandTest:
TYPO3\CMS\Core\Tests\Functional\Command\AbstractCommandTestCase TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait

Public Member Functions

 setUp ()
 
 cliCommand (string $command, array $args, int $expectedExitCode)
 

Static Public Member Functions

static commandTestDataProvider ()
 

Protected Attributes

const LANGUAGE_PRESETS
 
array $coreExtensionsToLoad
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\Command\AbstractCommandTestCase
 executeConsoleCommand (string $cmdline,... $args)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait
 writeSiteConfiguration (string $identifier, array $site=[], array $languages=[], array $errorHandling=[])
 
 mergeSiteConfiguration (string $identifier, array $overrides)
 
 buildSiteConfiguration (int $rootPageId, string $base='')
 
 buildDefaultLanguageConfiguration (string $identifier, string $base)
 
 buildLanguageConfiguration (string $identifier, string $base, array $fallbackIdentifiers=[], string $fallbackType=null)
 
 buildErrorHandlingConfiguration (string $handler, array $codes)
 
mixed resolveLanguagePreset (string $identifier)
 
 applyInstructions (InternalRequest $request, AbstractInstruction ... $instructions)
 
 mergeInstruction (AbstractInstruction $current, AbstractInstruction $other)
 
- ‪Static Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait
static failIfArrayIsNotEmpty (array $items)
 

Detailed Description

Todo:
‪: This test mixes commands from various extensions (like EM and install), and should be split test the command in the according extension only.

Definition at line 28 of file CliCommandTest.php.

Member Function Documentation

◆ cliCommand()

TYPO3\CMS\Core\Tests\Functional\Command\CliCommandTest::cliCommand ( string  $command,
array  $args,
int  $expectedExitCode 
)

◆ commandTestDataProvider()

static TYPO3\CMS\Core\Tests\Functional\Command\CliCommandTest::commandTestDataProvider ( )
static

Definition at line 55 of file CliCommandTest.php.

◆ setUp()

Member Data Documentation

◆ $coreExtensionsToLoad

array TYPO3\CMS\Core\Tests\Functional\Command\CliCommandTest::$coreExtensionsToLoad
protected
Initial value:
= [
'lowlevel',
'redirects',
'extensionmanager',
'scheduler',
'workspaces',
'styleguide',
'install',
]

Definition at line 35 of file CliCommandTest.php.

◆ LANGUAGE_PRESETS

const TYPO3\CMS\Core\Tests\Functional\Command\CliCommandTest::LANGUAGE_PRESETS
protected
Initial value:
= [
'EN' => ['id' => 0, 'title' => 'English', 'locale' => 'en_US.UTF8'],
]

Definition at line 31 of file CliCommandTest.php.