PHP 클래스 Kraken\_Unit\Console\Client\_T\TCommand

상속: extends Kraken\Test\TUnit
파일 보기 프로젝트 열기: kraken-php/framework

보호된 프로퍼티들

프로퍼티 타입 설명
$class string
$cmd Kraken\Runtime\Command\CommandInterface | PHPUnit_Framework_MockObject_MockObject

공개 메소드들

메소드 설명
assertCommand ( Command $command, string $name, string $desc = "#(.*?)#si", mixed[] $args = [], mixed[] $opts = [] )
createCommand ( string[] | null $methods = null ) : Command | PHPUnit_Framework_MockObject_MockObject
createInputMock ( string[] | null $methods = [] ) : Symfony\Component\Console\Input\InputInterface | PHPUnit_Framework_MockObject_MockObject
createOutputMock ( string[] | null $methods = [] ) : Symfony\Component\Console\Output\OutputInterface | PHPUnit_Framework_MockObject_MockObject
setUp ( )
testApiConstruct_DoesNotThrowException ( )
testApiConstructor_CreatesInstance ( )
testApiDestruct_DoesNotThrowException ( )
testApiDestructor_DoesNotThrowException ( )

메소드 상세

assertCommand() 공개 메소드

public assertCommand ( Command $command, string $name, string $desc = "#(.*?)#si", mixed[] $args = [], mixed[] $opts = [] )
$command Kraken\Console\Client\Command\Command
$name string
$desc string
$args mixed[]
$opts mixed[]

createCommand() 공개 메소드

public createCommand ( string[] | null $methods = null ) : Command | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
리턴 Kraken\Console\Client\Command\Command | PHPUnit_Framework_MockObject_MockObject

createInputMock() 공개 메소드

public createInputMock ( string[] | null $methods = [] ) : Symfony\Component\Console\Input\InputInterface | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
리턴 Symfony\Component\Console\Input\InputInterface | PHPUnit_Framework_MockObject_MockObject

createOutputMock() 공개 메소드

public createOutputMock ( string[] | null $methods = [] ) : Symfony\Component\Console\Output\OutputInterface | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
리턴 Symfony\Component\Console\Output\OutputInterface | PHPUnit_Framework_MockObject_MockObject

setUp() 공개 메소드

public setUp ( )

testApiConstruct_DoesNotThrowException() 공개 메소드

testApiConstructor_CreatesInstance() 공개 메소드

testApiDestruct_DoesNotThrowException() 공개 메소드

testApiDestructor_DoesNotThrowException() 공개 메소드

프로퍼티 상세

$class 보호되어 있는 프로퍼티

protected string $class
리턴 string

$cmd 보호되어 있는 프로퍼티

protected CommandInterface,Kraken\Runtime\Command|PHPUnit_Framework_MockObject_MockObject $cmd
리턴 Kraken\Runtime\Command\CommandInterface | PHPUnit_Framework_MockObject_MockObject