PHP Class Symfony\Component\Console\Tests\Command\CommandTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: symfony/symfony

Protected Properties

Свойство Type Description
$fixturesPath

Méthodes publiques

Méthode Description
callableMethodCommand ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getSetCodeBindToClosureTests ( )
provideInvalidCommandNames ( )
setUpBeforeClass ( )
testAddArgument ( )
testAddOption ( )
testCommandNameCannotBeEmpty ( )
testConstructor ( )
testExecuteMethodNeedsToBeOverridden ( )
testGetHelper ( )
testGetHelperWithoutHelperSet ( )
testGetNamespaceGetNameSetName ( )
testGetProcessedHelp ( )
testGetSetAliases ( )
testGetSetDescription ( )
testGetSetHelp ( )
testGetSynopsis ( )
testInvalidCommandNames ( $name )
testMergeApplicationDefinition ( )
testMergeApplicationDefinitionWithoutArgsThenWithArgsAddsArgs ( )
testRunInteractive ( )
testRunNonInteractive ( )
testRunReturnsAlwaysInteger ( )
testRunReturnsIntegerExitCode ( )
testRunWithApplication ( )
testRunWithInvalidOption ( )
testSetApplication ( )
testSetCode ( )
testSetCodeBindToClosure ( $previouslyBound, $expected )
testSetCodeWithNonClosureCallable ( )
testSetCodeWithStaticClosure ( )
testSetGetDefinition ( )

Private Methods

Méthode Description
createClosure ( )

Method Details

callableMethodCommand() public méthode

public callableMethodCommand ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

getSetCodeBindToClosureTests() public méthode

provideInvalidCommandNames() public méthode

setUpBeforeClass() public static méthode

public static setUpBeforeClass ( )

testAddArgument() public méthode

public testAddArgument ( )

testAddOption() public méthode

public testAddOption ( )

testCommandNameCannotBeEmpty() public méthode

testConstructor() public méthode

public testConstructor ( )

testExecuteMethodNeedsToBeOverridden() public méthode

testGetHelper() public méthode

public testGetHelper ( )

testGetHelperWithoutHelperSet() public méthode

testGetNamespaceGetNameSetName() public méthode

testGetProcessedHelp() public méthode

testGetSetAliases() public méthode

public testGetSetAliases ( )

testGetSetDescription() public méthode

testGetSetHelp() public méthode

public testGetSetHelp ( )

testGetSynopsis() public méthode

public testGetSynopsis ( )

testInvalidCommandNames() public méthode

public testInvalidCommandNames ( $name )

testMergeApplicationDefinition() public méthode

testMergeApplicationDefinitionWithoutArgsThenWithArgsAddsArgs() public méthode

testRunInteractive() public méthode

public testRunInteractive ( )

testRunNonInteractive() public méthode

testRunReturnsAlwaysInteger() public méthode

testRunReturnsIntegerExitCode() public méthode

testRunWithApplication() public méthode

testRunWithInvalidOption() public méthode

testSetApplication() public méthode

public testSetApplication ( )

testSetCode() public méthode

public testSetCode ( )

testSetCodeBindToClosure() public méthode

public testSetCodeBindToClosure ( $previouslyBound, $expected )

testSetCodeWithNonClosureCallable() public méthode

testSetCodeWithStaticClosure() public méthode

testSetGetDefinition() public méthode

Property Details

$fixturesPath protected_oe static_oe property

protected static $fixturesPath