PHP 클래스 Pinq\Tests\Integration\Caching\CacheTest

상속: extends Pinq\Tests\PinqTestCase
파일 보기 프로젝트 열기: timetoogo/pinq 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$cache Pinq\Caching\ICacheAdapter
$namespacedCache Pinq\Caching\ICacheAdapter
$rootCacheDirectory

공개 메소드들

메소드 설명
__construct ( $name = null, array $data = [], $dataName = '' )
testThaGlobalNamespaceCacheWillNotClearOtherNamespaces ( )
testThatCacheDoesNotClearValuesOutsideOfChildNamespace ( )
testThatCacheDoesNotClearValuesOutsideOfNamespace ( )
testThatCacheDoesNotContainValuesNotInGlobalNamespace ( )
testThatCacheDoesNotGetValuesOutsideOfNamespace ( )
testThatCacheDoesNotRemoveValuesOutsideOfNamespace ( )
testThatCacheSavesAllAndRetrievesValues ( )
testThatCacheSupportsArbitraryKeys ( )
testThatClearedCacheRemovesSavedValues ( )
testThatClearingCacheNamespaceOnlyRemovesEntriesInNamespace ( )
testThatContainsReturnsTrueForCacheValueAndFalseForNotContainedKey ( )
testThatForAnotherNamespaceReturnsCacheInCorrectNamespace ( )
testThatForNamespaceReturnsCacheInCorrectNamespace ( )
testThatInGlobalNamespaceReturnsCacheWithoutANamespace ( )
testThatNamespaceWillNotClearInAnotherNamespaces ( )
testThatNamespacedCacheDoesNotContainValuesOutsideOfNamespace ( )
testThatRemovedValueReturnsNull ( )
testThatTryingToGetNonExistentValueReturnsNull ( )

보호된 메소드들

메소드 설명
setUp ( )
setUpCache ( ) : Pinq\Caching\ICacheAdapter
tearDown ( )
tearDownCache ( ) : void

메소드 상세

__construct() 공개 메소드

public __construct ( $name = null, array $data = [], $dataName = '' )
$data array

setUp() 보호된 메소드

protected setUp ( )

setUpCache() 추상적인 보호된 메소드

abstract protected setUpCache ( ) : Pinq\Caching\ICacheAdapter
리턴 Pinq\Caching\ICacheAdapter

tearDown() 보호된 메소드

protected tearDown ( )

tearDownCache() 보호된 메소드

protected tearDownCache ( ) : void
리턴 void

testThaGlobalNamespaceCacheWillNotClearOtherNamespaces() 공개 메소드

testThatCacheDoesNotClearValuesOutsideOfChildNamespace() 공개 메소드

testThatCacheDoesNotClearValuesOutsideOfNamespace() 공개 메소드

testThatCacheDoesNotContainValuesNotInGlobalNamespace() 공개 메소드

testThatCacheDoesNotGetValuesOutsideOfNamespace() 공개 메소드

testThatCacheDoesNotRemoveValuesOutsideOfNamespace() 공개 메소드

testThatCacheSavesAllAndRetrievesValues() 공개 메소드

testThatCacheSupportsArbitraryKeys() 공개 메소드

testThatClearedCacheRemovesSavedValues() 공개 메소드

testThatClearingCacheNamespaceOnlyRemovesEntriesInNamespace() 공개 메소드

testThatContainsReturnsTrueForCacheValueAndFalseForNotContainedKey() 공개 메소드

testThatForAnotherNamespaceReturnsCacheInCorrectNamespace() 공개 메소드

testThatForNamespaceReturnsCacheInCorrectNamespace() 공개 메소드

testThatInGlobalNamespaceReturnsCacheWithoutANamespace() 공개 메소드

testThatNamespaceWillNotClearInAnotherNamespaces() 공개 메소드

testThatNamespacedCacheDoesNotContainValuesOutsideOfNamespace() 공개 메소드

testThatRemovedValueReturnsNull() 공개 메소드

testThatTryingToGetNonExistentValueReturnsNull() 공개 메소드

프로퍼티 상세

$cache 보호되어 있는 프로퍼티

protected ICacheAdapter,Pinq\Caching $cache
리턴 Pinq\Caching\ICacheAdapter

$namespacedCache 보호되어 있는 프로퍼티

protected ICacheAdapter,Pinq\Caching $namespacedCache
리턴 Pinq\Caching\ICacheAdapter

$rootCacheDirectory 보호되어 있는 정적으로 프로퍼티

protected static $rootCacheDirectory