PHP 클래스 Kraken\_Unit\Core\CoreTest

상속: extends Kraken\Test\TUnit
파일 보기 프로젝트 열기: kraken-php/framework

공개 메소드들

메소드 설명
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 ( )

메소드 상세

createCore() 공개 메소드

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

createProvider() 공개 메소드

public createProvider ( ) : ServiceProvider | PHPUnit_Framework_MockObject_MockObject
리턴 Kraken\Container\ServiceProvider | PHPUnit_Framework_MockObject_MockObject

createRegister() 공개 메소드

public createRegister ( Core $core, string[] $methods = [] ) : ServiceRegister | PHPUnit_Framework_MockObject_MockObject
$core Kraken\Core\Core
$methods string[]
리턴 Kraken\Container\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() 공개 메소드