Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Kraken
_Unit
Runtime
RuntimeManagerTest
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()
공개
메소드
public
testApiConstructor_CreatesInstance
( )
testApiCreateProcess_CallsModelMethod()
공개
메소드
public
testApiCreateProcess_CallsModelMethod
( )
testApiCreateProcesses_CallsModelMethod()
공개
메소드
public
testApiCreateProcesses_CallsModelMethod
( )
testApiCreateThread_CallsModelMethod()
공개
메소드
public
testApiCreateThread_CallsModelMethod
( )
testApiCreateThreads_CallsModelMethod()
공개
메소드
public
testApiCreateThreads_CallsModelMethod
( )
testApiDestroyProcess_CallsModelMethod()
공개
메소드
public
testApiDestroyProcess_CallsModelMethod
( )
testApiDestroyProcesses_CallsModelMethod()
공개
메소드
public
testApiDestroyProcesses_CallsModelMethod
( )
testApiDestroyRuntime_DestroysProcess_WhenRuntimeIsProcess()
공개
메소드
public
testApiDestroyRuntime_DestroysProcess_WhenRuntimeIsProcess
( )
testApiDestroyRuntime_DestroysThread_WhenRuntimeIsThread()
공개
메소드
public
testApiDestroyRuntime_DestroysThread_WhenRuntimeIsThread
( )
testApiDestroyRuntime_RejectsPromise_WhenRuntimeDoesNotExist()
공개
메소드
public
testApiDestroyRuntime_RejectsPromise_WhenRuntimeDoesNotExist
( )
testApiDestroyRuntimes_CallsDestroyRuntimeOnEachPassedRuntime()
공개
메소드
public
testApiDestroyRuntimes_CallsDestroyRuntimeOnEachPassedRuntime
( )
testApiDestroyThread_CallsModelMethod()
공개
메소드
public
testApiDestroyThread_CallsModelMethod
( )
testApiDestroyThreads_CallsModelMethod()
공개
메소드
public
testApiDestroyThreads_CallsModelMethod
( )
testApiDestructor_DoesNotThrowException()
공개
메소드
public
testApiDestructor_DoesNotThrowException
( )
testApiExistsProcess_CallsModelMethod()
공개
메소드
public
testApiExistsProcess_CallsModelMethod
( )
testApiExistsRuntime_ReturnsFalse_WhenBothManagersReturnsFalse()
공개
메소드
public
testApiExistsRuntime_ReturnsFalse_WhenBothManagersReturnsFalse
( )
testApiExistsRuntime_ReturnsTrue_WhenProcessManagerReturnsTrue()
공개
메소드
public
testApiExistsRuntime_ReturnsTrue_WhenProcessManagerReturnsTrue
( )
testApiExistsRuntime_ReturnsTrue_WhenThreadManagerReturnsTrue()
공개
메소드
public
testApiExistsRuntime_ReturnsTrue_WhenThreadManagerReturnsTrue
( )
testApiExistsThread_CallsModelMethod()
공개
메소드
public
testApiExistsThread_CallsModelMethod
( )
testApiFlushProcesses_CallsModelMethod()
공개
메소드
public
testApiFlushProcesses_CallsModelMethod
( )
testApiFlushRuntimes_FlushesRuntimes()
공개
메소드
public
testApiFlushRuntimes_FlushesRuntimes
( )
testApiFlushThreads_CallsModelMethod()
공개
메소드
public
testApiFlushThreads_CallsModelMethod
( )
testApiGetProcesses_CallsModelMethod()
공개
메소드
public
testApiGetProcesses_CallsModelMethod
( )
testApiGetRuntimes_ReturnsRuntimes()
공개
메소드
public
testApiGetRuntimes_ReturnsRuntimes
( )
testApiGetThreads_CallsModelMethod()
공개
메소드
public
testApiGetThreads_CallsModelMethod
( )
testApiStartProcess_CallsModelMethod()
공개
메소드
public
testApiStartProcess_CallsModelMethod
( )
testApiStartProcesses_CallsModelMethod()
공개
메소드
public
testApiStartProcesses_CallsModelMethod
( )
testApiStartRuntime_RejectsPromise_WhenRuntimeDoesNotExist()
공개
메소드
public
testApiStartRuntime_RejectsPromise_WhenRuntimeDoesNotExist
( )
testApiStartRuntime_StartsProcess_WhenRuntimeIsProcess()
공개
메소드
public
testApiStartRuntime_StartsProcess_WhenRuntimeIsProcess
( )
testApiStartRuntime_StartsThread_WhenRuntimeIsThread()
공개
메소드
public
testApiStartRuntime_StartsThread_WhenRuntimeIsThread
( )
testApiStartRuntimes_CallsStartRuntimeOnEachPassedRuntime()
공개
메소드
public
testApiStartRuntimes_CallsStartRuntimeOnEachPassedRuntime
( )
testApiStartThread_CallsModelMethod()
공개
메소드
public
testApiStartThread_CallsModelMethod
( )
testApiStartThreads_CallsModelMethod()
공개
메소드
public
testApiStartThreads_CallsModelMethod
( )
testApiStopProcess_CallsModelMethod()
공개
메소드
public
testApiStopProcess_CallsModelMethod
( )
testApiStopProcesses_CallsModelMethod()
공개
메소드
public
testApiStopProcesses_CallsModelMethod
( )
testApiStopRuntime_DestroysProcess_WhenRuntimeIsProcess()
공개
메소드
public
testApiStopRuntime_DestroysProcess_WhenRuntimeIsProcess
( )
testApiStopRuntime_DestroysThread_WhenRuntimeIsThread()
공개
메소드
public
testApiStopRuntime_DestroysThread_WhenRuntimeIsThread
( )
testApiStopRuntime_RejectsPromise_WhenRuntimeDoesNotExist()
공개
메소드
public
testApiStopRuntime_RejectsPromise_WhenRuntimeDoesNotExist
( )
testApiStopRuntimes_CallsStopRuntimeOnEachPassedRuntime()
공개
메소드
public
testApiStopRuntimes_CallsStopRuntimeOnEachPassedRuntime
( )
testApiStopThread_CallsModelMethod()
공개
메소드
public
testApiStopThread_CallsModelMethod
( )
testApiStopThreads_CallsModelMethod()
공개
메소드
public
testApiStopThreads_CallsModelMethod
( )