PHP Трейт Kraken\_Unit\Runtime\_Case\RuntimeCase

Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( )

Описание методов

createRuntime() абстрактный публичный Метод

abstract public createRuntime ( string[] $params = [], string[] | null $methods = null ) : RuntimeContainer | PHPUnit_Framework_MockObject_MockObject
$params string[]
$methods string[] | null
Результат Kraken\Runtime\RuntimeContainer | PHPUnit_Framework_MockObject_MockObject

eventsProvider() публичный Метод

public eventsProvider ( ) : string[][]
Результат string[][]

getTest() абстрактный публичный Метод

abstract public getTest ( ) : TUnit
Результат Kraken\Test\TUnit

stateSwitchersProvider() публичный Метод

public stateSwitchersProvider ( ) : string[][]
Результат string[][]

statesProvider() публичный Метод

public statesProvider ( ) : string[][]
Результат 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() публичный Метод

testCaseAllOnMethods_RegisterHandlersForEvents() публичный Метод

testCaseAllSetStateMethods_CallsModelMethod() публичный Метод

testProtectedApiBoot_ReturnsSelf() публичный Метод

testProtectedApiConfig_ReturnsArray() публичный Метод

testProtectedApiConstruct_ReturnsSelf() публичный Метод

testProtectedApiInternalBoot_CallsBootMethod() публичный Метод

testProtectedApiInternalConfig_CallsConfigMethod() публичный Метод

testProtectedApiInternalConstruct_CallsConstructMethod() публичный Метод