TYPO3  7.6
Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
CommandTest Class Reference
Inheritance diagram for CommandTest:

Public Member Functions

 testConstructor ()
 
 testCommandNameCannotBeEmpty ()
 
 testSetApplication ()
 
 testSetGetDefinition ()
 
 testAddArgument ()
 
 testAddOption ()
 
 testGetNamespaceGetNameSetName ()
 
 testInvalidCommandNames ($name)
 
 provideInvalidCommandNames ()
 
 testGetSetDescription ()
 
 testGetSetHelp ()
 
 testGetProcessedHelp ()
 
 testGetSetAliases ()
 
 testGetSynopsis ()
 
 testGetHelper ()
 
 testMergeApplicationDefinition ()
 
 testMergeApplicationDefinitionWithoutArgsThenWithArgsAddsArgs ()
 
 testRunInteractive ()
 
 testRunNonInteractive ()
 
 testExecuteMethodNeedsToBeOverridden ()
 
 testRunWithInvalidOption ()
 
 testRunReturnsIntegerExitCode ()
 
 testRunReturnsAlwaysInteger ()
 
 testSetCode ()
 
 testSetCodeWithNonClosureCallable ()
 
 testSetCodeWithNonCallable ()
 
 callableMethodCommand (InputInterface $input, OutputInterface $output)
 
 testLegacyAsText ()
 
 testLegacyAsXml ()
 

Static Public Member Functions

static setUpBeforeClass ()
 

Static Protected Attributes

static $fixturesPath
 

Detailed Description

Definition at line 26 of file console/Tests/Command/CommandTest.php.

Member Function Documentation

callableMethodCommand ( InputInterface  $input,
OutputInterface  $output 
)

Definition at line 309 of file console/Tests/Command/CommandTest.php.

References OutputInterface\writeln().

provideInvalidCommandNames ( )

Definition at line 110 of file console/Tests/Command/CommandTest.php.

static setUpBeforeClass ( )
static

Definition at line 30 of file console/Tests/Command/CommandTest.php.

testAddArgument ( )

Definition at line 71 of file console/Tests/Command/CommandTest.php.

testAddOption ( )

Definition at line 79 of file console/Tests/Command/CommandTest.php.

testCommandNameCannotBeEmpty ( )

The command defined in "Symfony\Component\Console\Command\Command" cannot have an empty name.

Definition at line 46 of file console/Tests/Command/CommandTest.php.

testConstructor ( )

Definition at line 36 of file console/Tests/Command/CommandTest.php.

testExecuteMethodNeedsToBeOverridden ( )

You must override the execute() method in the concrete command class.

Definition at line 239 of file console/Tests/Command/CommandTest.php.

testGetHelper ( )

Definition at line 163 of file console/Tests/Command/CommandTest.php.

testGetNamespaceGetNameSetName ( )

Definition at line 87 of file console/Tests/Command/CommandTest.php.

testGetProcessedHelp ( )

Definition at line 138 of file console/Tests/Command/CommandTest.php.

testGetSetAliases ( )

Definition at line 146 of file console/Tests/Command/CommandTest.php.

testGetSetDescription ( )

Definition at line 118 of file console/Tests/Command/CommandTest.php.

testGetSetHelp ( )

Definition at line 127 of file console/Tests/Command/CommandTest.php.

testGetSynopsis ( )

Definition at line 155 of file console/Tests/Command/CommandTest.php.

testInvalidCommandNames (   $name)

provideInvalidCommandNames

Definition at line 102 of file console/Tests/Command/CommandTest.php.

testLegacyAsText ( )

legacy

Definition at line 317 of file console/Tests/Command/CommandTest.php.

testLegacyAsXml ( )

legacy

Definition at line 329 of file console/Tests/Command/CommandTest.php.

testMergeApplicationDefinition ( )

Definition at line 172 of file console/Tests/Command/CommandTest.php.

testMergeApplicationDefinitionWithoutArgsThenWithArgsAddsArgs ( )

Definition at line 194 of file console/Tests/Command/CommandTest.php.

testRunInteractive ( )

Definition at line 217 of file console/Tests/Command/CommandTest.php.

testRunNonInteractive ( )

Definition at line 226 of file console/Tests/Command/CommandTest.php.

testRunReturnsAlwaysInteger ( )

Definition at line 270 of file console/Tests/Command/CommandTest.php.

testRunReturnsIntegerExitCode ( )

Definition at line 256 of file console/Tests/Command/CommandTest.php.

testRunWithInvalidOption ( )

The "–bar" option does not exist.

Definition at line 249 of file console/Tests/Command/CommandTest.php.

testSetApplication ( )

Definition at line 51 of file console/Tests/Command/CommandTest.php.

testSetCode ( )

Definition at line 277 of file console/Tests/Command/CommandTest.php.

References OutputInterface\writeln().

testSetCodeWithNonCallable ( )

Invalid callable provided to Command::setCode.

Definition at line 303 of file console/Tests/Command/CommandTest.php.

testSetCodeWithNonClosureCallable ( )

Definition at line 289 of file console/Tests/Command/CommandTest.php.

testSetGetDefinition ( )

Definition at line 59 of file console/Tests/Command/CommandTest.php.

Member Data Documentation

$fixturesPath
staticprotected

Definition at line 28 of file console/Tests/Command/CommandTest.php.