PHP Trait Kraken\_Unit\Runtime\_Case\RuntimeCase

Afficher le fichier Open project: kraken-php/framework

Méthodes publiques

Méthode Description
createRuntime ( string[] $params = [], string[] | null $methods = null ) : RuntimeContainer | PHPUnit_Framework_MockObject_MockObject
eventsProvider ( ) : string[][]
getTest ( ) : TUnit
stateSwitchersProvider ( ) : string[][]
statesProvider ( ) : string[][]
testApiConstructor_CreatesInstance ( )
testApiDestructor_DoesNotThrowException ( )
testApiFail_CallsModelMethod ( )
testApiGetAlias_ReturnsAlias ( )
testApiGetArgs_ReturnsArgs ( )
testApiGetCore_CallsModelMethod ( )
testApiGetLoop_CallsModelMethod ( )
testApiGetModel_ReturnsModel ( )
testApiGetName_ReturnsName ( )
testApiGetParent_ReturnsParent ( )
testApiGetState_CallsModelMethod ( )
testApiGetType_ReturnsType ( )
testApiManager_CallsModelMethod ( )
testApiSetCore_CallsModelMethod ( )
testApiSucceed_CallsModelMethod ( )
testCaseAllIsStateMethods_CallsModelMethod ( $state )
testCaseAllOnMethods_RegisterHandlersForEvents ( $event )
testCaseAllSetStateMethods_CallsModelMethod ( $switcher )
testProtectedApiBoot_ReturnsSelf ( )
testProtectedApiConfig_ReturnsArray ( )
testProtectedApiConstruct_ReturnsSelf ( )
testProtectedApiInternalBoot_CallsBootMethod ( )
testProtectedApiInternalConfig_CallsConfigMethod ( )
testProtectedApiInternalConstruct_CallsConstructMethod ( )

Method Details

createRuntime() abstract public méthode

abstract public createRuntime ( string[] $params = [], string[] | null $methods = null ) : RuntimeContainer | PHPUnit_Framework_MockObject_MockObject
$params string[]
$methods string[] | null
Résultat Kraken\Runtime\RuntimeContainer | PHPUnit_Framework_MockObject_MockObject

eventsProvider() public méthode

public eventsProvider ( ) : string[][]
Résultat string[][]

getTest() abstract public méthode

abstract public getTest ( ) : TUnit
Résultat Kraken\Test\TUnit

stateSwitchersProvider() public méthode

public stateSwitchersProvider ( ) : string[][]
Résultat string[][]

statesProvider() public méthode

public statesProvider ( ) : string[][]
Résultat string[][]

testApiConstructor_CreatesInstance() public méthode

testApiDestructor_DoesNotThrowException() public méthode

testApiFail_CallsModelMethod() public méthode

testApiGetAlias_ReturnsAlias() public méthode

testApiGetArgs_ReturnsArgs() public méthode

testApiGetCore_CallsModelMethod() public méthode

testApiGetLoop_CallsModelMethod() public méthode

testApiGetModel_ReturnsModel() public méthode

testApiGetName_ReturnsName() public méthode

testApiGetParent_ReturnsParent() public méthode

testApiGetState_CallsModelMethod() public méthode

testApiGetType_ReturnsType() public méthode

testApiManager_CallsModelMethod() public méthode

testApiSetCore_CallsModelMethod() public méthode

testApiSucceed_CallsModelMethod() public méthode

testCaseAllIsStateMethods_CallsModelMethod() public méthode

testCaseAllOnMethods_RegisterHandlersForEvents() public méthode

testCaseAllSetStateMethods_CallsModelMethod() public méthode

testProtectedApiBoot_ReturnsSelf() public méthode

testProtectedApiConfig_ReturnsArray() public méthode

testProtectedApiConstruct_ReturnsSelf() public méthode

testProtectedApiInternalBoot_CallsBootMethod() public méthode

testProtectedApiInternalConfig_CallsConfigMethod() public méthode

testProtectedApiInternalConstruct_CallsConstructMethod() public méthode