PHP 클래스 Kraken\_Unit\Runtime\RuntimeManagerTest

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

공개 메소드들

메소드 설명
createRuntimeManager ( string[] $methods = [] ) : RuntimeManagerMock | PHPUnit_Framework_MockObject_MockObject
testApiConstructor_CreatesInstance ( )
testApiCreateProcess_CallsModelMethod ( )
testApiCreateProcesses_CallsModelMethod ( )
testApiCreateThread_CallsModelMethod ( )
testApiCreateThreads_CallsModelMethod ( )
testApiDestroyProcess_CallsModelMethod ( )
testApiDestroyProcesses_CallsModelMethod ( )
testApiDestroyRuntime_DestroysProcess_WhenRuntimeIsProcess ( )
testApiDestroyRuntime_DestroysThread_WhenRuntimeIsThread ( )
testApiDestroyRuntime_RejectsPromise_WhenRuntimeDoesNotExist ( )
testApiDestroyRuntimes_CallsDestroyRuntimeOnEachPassedRuntime ( )
testApiDestroyThread_CallsModelMethod ( )
testApiDestroyThreads_CallsModelMethod ( )
testApiDestructor_DoesNotThrowException ( )
testApiExistsProcess_CallsModelMethod ( )
testApiExistsRuntime_ReturnsFalse_WhenBothManagersReturnsFalse ( )
testApiExistsRuntime_ReturnsTrue_WhenProcessManagerReturnsTrue ( )
testApiExistsRuntime_ReturnsTrue_WhenThreadManagerReturnsTrue ( )
testApiExistsThread_CallsModelMethod ( )
testApiFlushProcesses_CallsModelMethod ( )
testApiFlushRuntimes_FlushesRuntimes ( )
testApiFlushThreads_CallsModelMethod ( )
testApiGetProcesses_CallsModelMethod ( )
testApiGetRuntimes_ReturnsRuntimes ( )
testApiGetThreads_CallsModelMethod ( )
testApiStartProcess_CallsModelMethod ( )
testApiStartProcesses_CallsModelMethod ( )
testApiStartRuntime_RejectsPromise_WhenRuntimeDoesNotExist ( )
testApiStartRuntime_StartsProcess_WhenRuntimeIsProcess ( )
testApiStartRuntime_StartsThread_WhenRuntimeIsThread ( )
testApiStartRuntimes_CallsStartRuntimeOnEachPassedRuntime ( )
testApiStartThread_CallsModelMethod ( )
testApiStartThreads_CallsModelMethod ( )
testApiStopProcess_CallsModelMethod ( )
testApiStopProcesses_CallsModelMethod ( )
testApiStopRuntime_DestroysProcess_WhenRuntimeIsProcess ( )
testApiStopRuntime_DestroysThread_WhenRuntimeIsThread ( )
testApiStopRuntime_RejectsPromise_WhenRuntimeDoesNotExist ( )
testApiStopRuntimes_CallsStopRuntimeOnEachPassedRuntime ( )
testApiStopThread_CallsModelMethod ( )
testApiStopThreads_CallsModelMethod ( )

메소드 상세

createRuntimeManager() 공개 메소드

public createRuntimeManager ( string[] $methods = [] ) : RuntimeManagerMock | PHPUnit_Framework_MockObject_MockObject
$methods string[]
리턴 Kraken\_Unit\Runtime\_Mock\RuntimeManagerMock | PHPUnit_Framework_MockObject_MockObject

testApiConstructor_CreatesInstance() 공개 메소드

testApiCreateProcess_CallsModelMethod() 공개 메소드

testApiCreateProcesses_CallsModelMethod() 공개 메소드

testApiCreateThread_CallsModelMethod() 공개 메소드

testApiCreateThreads_CallsModelMethod() 공개 메소드

testApiDestroyProcess_CallsModelMethod() 공개 메소드

testApiDestroyProcesses_CallsModelMethod() 공개 메소드

testApiDestroyRuntime_DestroysProcess_WhenRuntimeIsProcess() 공개 메소드

testApiDestroyRuntime_DestroysThread_WhenRuntimeIsThread() 공개 메소드

testApiDestroyRuntime_RejectsPromise_WhenRuntimeDoesNotExist() 공개 메소드

testApiDestroyRuntimes_CallsDestroyRuntimeOnEachPassedRuntime() 공개 메소드

testApiDestroyThread_CallsModelMethod() 공개 메소드

testApiDestroyThreads_CallsModelMethod() 공개 메소드

testApiDestructor_DoesNotThrowException() 공개 메소드

testApiExistsProcess_CallsModelMethod() 공개 메소드

testApiExistsRuntime_ReturnsFalse_WhenBothManagersReturnsFalse() 공개 메소드

testApiExistsRuntime_ReturnsTrue_WhenProcessManagerReturnsTrue() 공개 메소드

testApiExistsRuntime_ReturnsTrue_WhenThreadManagerReturnsTrue() 공개 메소드

testApiExistsThread_CallsModelMethod() 공개 메소드

testApiFlushProcesses_CallsModelMethod() 공개 메소드

testApiFlushRuntimes_FlushesRuntimes() 공개 메소드

testApiFlushThreads_CallsModelMethod() 공개 메소드

testApiGetProcesses_CallsModelMethod() 공개 메소드

testApiGetRuntimes_ReturnsRuntimes() 공개 메소드

testApiGetThreads_CallsModelMethod() 공개 메소드

testApiStartProcess_CallsModelMethod() 공개 메소드

testApiStartProcesses_CallsModelMethod() 공개 메소드

testApiStartRuntime_RejectsPromise_WhenRuntimeDoesNotExist() 공개 메소드

testApiStartRuntime_StartsProcess_WhenRuntimeIsProcess() 공개 메소드

testApiStartRuntime_StartsThread_WhenRuntimeIsThread() 공개 메소드

testApiStartRuntimes_CallsStartRuntimeOnEachPassedRuntime() 공개 메소드

testApiStartThread_CallsModelMethod() 공개 메소드

testApiStartThreads_CallsModelMethod() 공개 메소드

testApiStopProcess_CallsModelMethod() 공개 메소드

testApiStopProcesses_CallsModelMethod() 공개 메소드

testApiStopRuntime_DestroysProcess_WhenRuntimeIsProcess() 공개 메소드

testApiStopRuntime_DestroysThread_WhenRuntimeIsThread() 공개 메소드

testApiStopRuntime_RejectsPromise_WhenRuntimeDoesNotExist() 공개 메소드

testApiStopRuntimes_CallsStopRuntimeOnEachPassedRuntime() 공개 메소드

testApiStopThread_CallsModelMethod() 공개 메소드

testApiStopThreads_CallsModelMethod() 공개 메소드