PHP 클래스 Symfony\Component\Console\Tests\Command\CommandTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: symfony/symfony

보호된 프로퍼티들

프로퍼티 타입 설명
$fixturesPath

공개 메소드들

메소드 설명
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 ( )

비공개 메소드들

메소드 설명
createClosure ( )

메소드 상세

callableMethodCommand() 공개 메소드

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() 공개 메소드

provideInvalidCommandNames() 공개 메소드

setUpBeforeClass() 공개 정적인 메소드

public static setUpBeforeClass ( )

testAddArgument() 공개 메소드

public testAddArgument ( )

testAddOption() 공개 메소드

public testAddOption ( )

testCommandNameCannotBeEmpty() 공개 메소드

testConstructor() 공개 메소드

public testConstructor ( )

testExecuteMethodNeedsToBeOverridden() 공개 메소드

testGetHelper() 공개 메소드

public testGetHelper ( )

testGetHelperWithoutHelperSet() 공개 메소드

testGetNamespaceGetNameSetName() 공개 메소드

testGetProcessedHelp() 공개 메소드

testGetSetAliases() 공개 메소드

public testGetSetAliases ( )

testGetSetDescription() 공개 메소드

testGetSetHelp() 공개 메소드

public testGetSetHelp ( )

testGetSynopsis() 공개 메소드

public testGetSynopsis ( )

testInvalidCommandNames() 공개 메소드

public testInvalidCommandNames ( $name )

testMergeApplicationDefinition() 공개 메소드

testMergeApplicationDefinitionWithoutArgsThenWithArgsAddsArgs() 공개 메소드

testRunInteractive() 공개 메소드

public testRunInteractive ( )

testRunNonInteractive() 공개 메소드

testRunReturnsAlwaysInteger() 공개 메소드

testRunReturnsIntegerExitCode() 공개 메소드

testRunWithApplication() 공개 메소드

testRunWithInvalidOption() 공개 메소드

testSetApplication() 공개 메소드

public testSetApplication ( )

testSetCode() 공개 메소드

public testSetCode ( )

testSetCodeBindToClosure() 공개 메소드

public testSetCodeBindToClosure ( $previouslyBound, $expected )

testSetCodeWithNonClosureCallable() 공개 메소드

testSetCodeWithStaticClosure() 공개 메소드

testSetGetDefinition() 공개 메소드

프로퍼티 상세

$fixturesPath 보호되어 있는 정적으로 프로퍼티

protected static $fixturesPath