PHP Class Kraken\_Unit\Runtime\RuntimeManagerTest

Inheritance: extends Kraken\Test\TUnit
Afficher le fichier Open project: kraken-php/framework

Méthodes publiques

Méthode Description
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 ( )

Method Details

createRuntimeManager() public méthode

public createRuntimeManager ( string[] $methods = [] ) : RuntimeManagerMock | PHPUnit_Framework_MockObject_MockObject
$methods string[]
Résultat Kraken\_Unit\Runtime\_Mock\RuntimeManagerMock | PHPUnit_Framework_MockObject_MockObject

testApiConstructor_CreatesInstance() public méthode

testApiCreateProcess_CallsModelMethod() public méthode

testApiCreateProcesses_CallsModelMethod() public méthode

testApiCreateThread_CallsModelMethod() public méthode

testApiCreateThreads_CallsModelMethod() public méthode

testApiDestroyProcess_CallsModelMethod() public méthode

testApiDestroyProcesses_CallsModelMethod() public méthode

testApiDestroyRuntime_DestroysProcess_WhenRuntimeIsProcess() public méthode

testApiDestroyRuntime_DestroysThread_WhenRuntimeIsThread() public méthode

testApiDestroyRuntime_RejectsPromise_WhenRuntimeDoesNotExist() public méthode

testApiDestroyRuntimes_CallsDestroyRuntimeOnEachPassedRuntime() public méthode

testApiDestroyThread_CallsModelMethod() public méthode

testApiDestroyThreads_CallsModelMethod() public méthode

testApiDestructor_DoesNotThrowException() public méthode

testApiExistsProcess_CallsModelMethod() public méthode

testApiExistsRuntime_ReturnsFalse_WhenBothManagersReturnsFalse() public méthode

testApiExistsRuntime_ReturnsTrue_WhenProcessManagerReturnsTrue() public méthode

testApiExistsRuntime_ReturnsTrue_WhenThreadManagerReturnsTrue() public méthode

testApiExistsThread_CallsModelMethod() public méthode

testApiFlushProcesses_CallsModelMethod() public méthode

testApiFlushRuntimes_FlushesRuntimes() public méthode

testApiFlushThreads_CallsModelMethod() public méthode

testApiGetProcesses_CallsModelMethod() public méthode

testApiGetRuntimes_ReturnsRuntimes() public méthode

testApiGetThreads_CallsModelMethod() public méthode

testApiStartProcess_CallsModelMethod() public méthode

testApiStartProcesses_CallsModelMethod() public méthode

testApiStartRuntime_RejectsPromise_WhenRuntimeDoesNotExist() public méthode

testApiStartRuntime_StartsProcess_WhenRuntimeIsProcess() public méthode

testApiStartRuntime_StartsThread_WhenRuntimeIsThread() public méthode

testApiStartRuntimes_CallsStartRuntimeOnEachPassedRuntime() public méthode

testApiStartThread_CallsModelMethod() public méthode

testApiStartThreads_CallsModelMethod() public méthode

testApiStopProcess_CallsModelMethod() public méthode

testApiStopProcesses_CallsModelMethod() public méthode

testApiStopRuntime_DestroysProcess_WhenRuntimeIsProcess() public méthode

testApiStopRuntime_DestroysThread_WhenRuntimeIsThread() public méthode

testApiStopRuntime_RejectsPromise_WhenRuntimeDoesNotExist() public méthode

testApiStopRuntimes_CallsStopRuntimeOnEachPassedRuntime() public méthode

testApiStopThread_CallsModelMethod() public méthode

testApiStopThreads_CallsModelMethod() public méthode