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

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

보호된 프로퍼티들

프로퍼티 타입 설명
$class string
$cmd Kraken\Runtime\Command\CommandInterface | PHPUnit_Framework_MockObject_MockObject
$core Kraken\Core\CoreInterface | PHPUnit_Framework_MockObject_MockObject
$manager Kraken\Runtime\RuntimeManagerInterface | PHPUnit_Framework_MockObject_MockObject
$project Kraken\Console\Server\Manager\ProjectManagerInterface | PHPUnit_Framework_MockObject_MockObject
$runtime Kraken\Runtime\RuntimeContainerInterface | PHPUnit_Framework_MockObject_MockObject

공개 메소드들

메소드 설명
createChannel ( string[] | null $methods = [] ) : Kraken\Channel\ChannelInterface | PHPUnit_Framework_MockObject_MockObject
createCommand ( array $context = [], array $methods = [] ) : Command | PHPUnit_Framework_MockObject_MockObject
createConfig ( string[] | null $data = [], string[] | null $methods = null ) : Kraken\Config\ConfigInterface | PHPUnit_Framework_MockObject_MockObject
createManager ( ) : Kraken\Runtime\RuntimeManagerInterface | PHPUnit_Framework_MockObject_MockObject
createProjectManager ( string[] | null $methods = [] ) : Kraken\Console\Server\Manager\ProjectManagerInterface | PHPUnit_Framework_MockObject_MockObject
createRuntime ( string[] | null $methods = [] ) : Kraken\Runtime\RuntimeContainerInterface | PHPUnit_Framework_MockObject_MockObject
createSupervisor ( string[] | null $methods = [] ) : Kraken\Supervision\SupervisorInterface | PHPUnit_Framework_MockObject_MockObject
setUp ( )
testApiConstruct_DoesNotThrowException ( )
testApiConstructor_CreatesInstance ( )
testApiConstructor_SetsRuntimeInContext ( )
testApiConstructor_ThrowsException_WhenNoRuntimeIsPassed ( )
testApiDestruct_DoesNotThrowException ( )
testApiDestructor_DoesNotThrowException ( )

메소드 상세

createChannel() 공개 메소드

public createChannel ( string[] | null $methods = [] ) : Kraken\Channel\ChannelInterface | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
리턴 Kraken\Channel\ChannelInterface | PHPUnit_Framework_MockObject_MockObject

createCommand() 공개 메소드

public createCommand ( array $context = [], array $methods = [] ) : Command | PHPUnit_Framework_MockObject_MockObject
$context array
$methods array
리턴 Kraken\Runtime\Command\Command | PHPUnit_Framework_MockObject_MockObject

createConfig() 공개 메소드

public createConfig ( string[] | null $data = [], string[] | null $methods = null ) : Kraken\Config\ConfigInterface | PHPUnit_Framework_MockObject_MockObject
$data string[] | null
$methods string[] | null
리턴 Kraken\Config\ConfigInterface | PHPUnit_Framework_MockObject_MockObject

createManager() 공개 메소드

public createManager ( ) : Kraken\Runtime\RuntimeManagerInterface | PHPUnit_Framework_MockObject_MockObject
리턴 Kraken\Runtime\RuntimeManagerInterface | PHPUnit_Framework_MockObject_MockObject

createProjectManager() 공개 메소드

public createProjectManager ( string[] | null $methods = [] ) : Kraken\Console\Server\Manager\ProjectManagerInterface | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
리턴 Kraken\Console\Server\Manager\ProjectManagerInterface | PHPUnit_Framework_MockObject_MockObject

createRuntime() 공개 메소드

public createRuntime ( string[] | null $methods = [] ) : Kraken\Runtime\RuntimeContainerInterface | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
리턴 Kraken\Runtime\RuntimeContainerInterface | PHPUnit_Framework_MockObject_MockObject

createSupervisor() 공개 메소드

public createSupervisor ( string[] | null $methods = [] ) : Kraken\Supervision\SupervisorInterface | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
리턴 Kraken\Supervision\SupervisorInterface | PHPUnit_Framework_MockObject_MockObject

setUp() 공개 메소드

public setUp ( )

testApiConstruct_DoesNotThrowException() 공개 메소드

testApiConstructor_CreatesInstance() 공개 메소드

testApiConstructor_SetsRuntimeInContext() 공개 메소드

testApiConstructor_ThrowsException_WhenNoRuntimeIsPassed() 공개 메소드

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

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

protected CoreInterface,Kraken\Core|PHPUnit_Framework_MockObject_MockObject $core
리턴 Kraken\Core\CoreInterface | PHPUnit_Framework_MockObject_MockObject

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

protected RuntimeManagerInterface,Kraken\Runtime|PHPUnit_Framework_MockObject_MockObject $manager
리턴 Kraken\Runtime\RuntimeManagerInterface | PHPUnit_Framework_MockObject_MockObject

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

protected ProjectManagerInterface,Kraken\Console\Server\Manager|PHPUnit_Framework_MockObject_MockObject $project
리턴 Kraken\Console\Server\Manager\ProjectManagerInterface | PHPUnit_Framework_MockObject_MockObject

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

protected RuntimeContainerInterface,Kraken\Runtime|PHPUnit_Framework_MockObject_MockObject $runtime
리턴 Kraken\Runtime\RuntimeContainerInterface | PHPUnit_Framework_MockObject_MockObject