PHP Class Kraken\_Unit\Core\CoreTest

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

Méthodes publiques

Méthode Description
createCore ( mixed[] $args = [], string[] | null $methods = null ) : Core | PHPUnit_Framework_MockObject_MockObject
createProvider ( ) : ServiceProvider | PHPUnit_Framework_MockObject_MockObject
createRegister ( Core $core, string[] $methods = [] ) : ServiceRegister | PHPUnit_Framework_MockObject_MockObject
testApiBootProviders_BootsProviders ( )
testApiBoot_BootsProviders ( )
testApiBoot_ThrowsException_WhenApiBootProvidersThrowsException ( )
testApiConfig_MergesConfig ( )
testApiConstructor_CreatesCore ( )
testApiDestructor_DoesNotThrowException ( )
testApiFlushAliases_FlushesAliases ( )
testApiFlushProviders_FlushesProviders ( )
testApiGetAlias_ReturnsAlias ( )
testApiGetAliases_ReturnsAliases ( )
testApiGetBasePath_ReturnsBasePath ( )
testApiGetDataDir_ReturnsDataDir ( )
testApiGetDataPath_ReturnsDataPath ( )
testApiGetDefaultAliases_ReturnsEmptyArray ( )
testApiGetDefaultProviders_ReturnsEmptyArray ( )
testApiGetProvider_GetsProvider ( )
testApiGetProviders_GetsProviders ( )
testApiGetServices_GetsServices ( )
testApiGetType_ReturnsRuntimeUnit ( )
testApiGetVersion_ReturnsVersion ( )
testApiRegisterAlias_RegistersAlias ( )
testApiRegisterAlias_ThrowsException_WhenModelThrowsException ( )
testApiRegisterAliases_RegistersAliases ( )
testApiRegisterProvider_RegistersProvider ( )
testApiRegisterProvider_ThrowsException_WhenModelThrowsException ( )
testApiRegisterProviders_RegistersProviders ( )
testApiUnregisterAlias_ThrowsException_WhenModelThrowsException ( )
testApiUnregisterAlias_UnregistersAlias ( )
testApiUnregisterProvider_ThrowsException_WhenModelThrowsException ( )
testApiUnregisterProvider_UnregistersProvider ( )
testCaseRuntimeUnitConst_HasUndefinedRuntimeUnit ( )
testCaseVersionConst_HasVersion ( )

Method Details

createCore() public méthode

public createCore ( mixed[] $args = [], string[] | null $methods = null ) : Core | PHPUnit_Framework_MockObject_MockObject
$args mixed[]
$methods string[] | null
Résultat Kraken\Core\Core | PHPUnit_Framework_MockObject_MockObject

createProvider() public méthode

public createProvider ( ) : ServiceProvider | PHPUnit_Framework_MockObject_MockObject
Résultat Kraken\Container\ServiceProvider | PHPUnit_Framework_MockObject_MockObject

createRegister() public méthode

public createRegister ( Core $core, string[] $methods = [] ) : ServiceRegister | PHPUnit_Framework_MockObject_MockObject
$core Kraken\Core\Core
$methods string[]
Résultat Kraken\Container\ServiceRegister | PHPUnit_Framework_MockObject_MockObject

testApiBootProviders_BootsProviders() public méthode

testApiBoot_BootsProviders() public méthode

testApiBoot_ThrowsException_WhenApiBootProvidersThrowsException() public méthode

testApiConfig_MergesConfig() public méthode

testApiConstructor_CreatesCore() public méthode

testApiDestructor_DoesNotThrowException() public méthode

testApiFlushAliases_FlushesAliases() public méthode

testApiFlushProviders_FlushesProviders() public méthode

testApiGetAlias_ReturnsAlias() public méthode

testApiGetAliases_ReturnsAliases() public méthode

testApiGetBasePath_ReturnsBasePath() public méthode

testApiGetDataDir_ReturnsDataDir() public méthode

testApiGetDataPath_ReturnsDataPath() public méthode

testApiGetDefaultAliases_ReturnsEmptyArray() public méthode

testApiGetDefaultProviders_ReturnsEmptyArray() public méthode

testApiGetProvider_GetsProvider() public méthode

testApiGetProviders_GetsProviders() public méthode

testApiGetServices_GetsServices() public méthode

testApiGetType_ReturnsRuntimeUnit() public méthode

testApiGetVersion_ReturnsVersion() public méthode

testApiRegisterAlias_RegistersAlias() public méthode

testApiRegisterAlias_ThrowsException_WhenModelThrowsException() public méthode

testApiRegisterAliases_RegistersAliases() public méthode

testApiRegisterProvider_RegistersProvider() public méthode

testApiRegisterProvider_ThrowsException_WhenModelThrowsException() public méthode

testApiRegisterProviders_RegistersProviders() public méthode

testApiUnregisterAlias_ThrowsException_WhenModelThrowsException() public méthode

testApiUnregisterAlias_UnregistersAlias() public méthode

testApiUnregisterProvider_ThrowsException_WhenModelThrowsException() public méthode

testApiUnregisterProvider_UnregistersProvider() public méthode

testCaseRuntimeUnitConst_HasUndefinedRuntimeUnit() public méthode

testCaseVersionConst_HasVersion() public méthode