PHP 클래스 Neos\Cache\Tests\Unit\Backend\SimpleFileBackendTest

파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$mockCacheFrontend Neos\Cache\Frontend\FrontendInterface | PHPUnit_Framework_MockObject_MockObject
$mockEnvironmentConfiguration Neos\Cache\EnvironmentConfiguration | PHPUnit_Framework_MockObject_MockObject

공개 메소드들

메소드 설명
aDedicatedCacheDirectoryIsUsedForCodeCaches ( )
backendAllowsForIteratingOverEntries ( )
flushRemovesAllCacheEntries ( )
getCacheDirectoryReturnsTheCurrentCacheDirectory ( )
getReturnsContentOfTheCorrectCacheFile ( )
getReturnsFalseForDeletedFiles ( )
getThrowsExceptionForInvalidIdentifier ( string $identifier )
hasReturnsFalseIfAnEntryDoesNotExist ( )
hasReturnsTrueIfAnEntryExists ( )
hasThrowsExceptionForInvalidIdentifier ( string $identifier )
invalidEntryIdentifiers ( ) : array
removeReallyRemovesACacheEntry ( )
removeThrowsExceptionForInvalidIdentifier ( string $identifier )
requireOnceDoesNotSwallowExceptionsOfTheIncludedFile ( )
requireOnceDoesNotSwallowPhpNoticesOfTheIncludedFile ( )
requireOnceDoesNotSwallowPhpWarningsOfTheIncludedFile ( )
requireOnceIncludesAndReturnsResultOfIncludedPhpFile ( )
requireOnceThrowsExceptionForInvalidIdentifier ( string $identifier )
setCacheDirectoryAllowsToSetTheCurrentCacheDirectory ( )
setCacheThrowsExceptionOnNonWritableDirectory ( )
setOverwritesAnAlreadyExistingCacheEntryForTheSameIdentifier ( )
setReallySavesToTheSpecifiedDirectory ( )
setThrowsExceptionForInvalidIdentifier ( string $identifier )
setThrowsExceptionIfCachePathLengthExceedsMaximumPathLength ( )
setThrowsExceptionIfDataIsNotAString ( )
setUp ( ) : void

보호된 메소드들

메소드 설명
getSimpleFileBackend ( array $options = [], Neos\Cache\Frontend\FrontendInterface $mockCacheFrontend = null ) : SimpleFileBackend Convenience function to retrieve an instance of SimpleFileBackend with required dependencies

메소드 상세

aDedicatedCacheDirectoryIsUsedForCodeCaches() 공개 메소드

backendAllowsForIteratingOverEntries() 공개 메소드

flushRemovesAllCacheEntries() 공개 메소드

getCacheDirectoryReturnsTheCurrentCacheDirectory() 공개 메소드

getReturnsContentOfTheCorrectCacheFile() 공개 메소드

getReturnsFalseForDeletedFiles() 공개 메소드

getSimpleFileBackend() 보호된 메소드

Convenience function to retrieve an instance of SimpleFileBackend with required dependencies
protected getSimpleFileBackend ( array $options = [], Neos\Cache\Frontend\FrontendInterface $mockCacheFrontend = null ) : SimpleFileBackend
$options array
$mockCacheFrontend Neos\Cache\Frontend\FrontendInterface
리턴 Neos\Cache\Backend\SimpleFileBackend

getThrowsExceptionForInvalidIdentifier() 공개 메소드

public getThrowsExceptionForInvalidIdentifier ( string $identifier )
$identifier string

hasReturnsFalseIfAnEntryDoesNotExist() 공개 메소드

hasReturnsTrueIfAnEntryExists() 공개 메소드

hasThrowsExceptionForInvalidIdentifier() 공개 메소드

public hasThrowsExceptionForInvalidIdentifier ( string $identifier )
$identifier string

invalidEntryIdentifiers() 공개 메소드

public invalidEntryIdentifiers ( ) : array
리턴 array

removeReallyRemovesACacheEntry() 공개 메소드

removeThrowsExceptionForInvalidIdentifier() 공개 메소드

public removeThrowsExceptionForInvalidIdentifier ( string $identifier )
$identifier string

requireOnceDoesNotSwallowExceptionsOfTheIncludedFile() 공개 메소드

requireOnceDoesNotSwallowPhpNoticesOfTheIncludedFile() 공개 메소드

requireOnceDoesNotSwallowPhpWarningsOfTheIncludedFile() 공개 메소드

requireOnceIncludesAndReturnsResultOfIncludedPhpFile() 공개 메소드

requireOnceThrowsExceptionForInvalidIdentifier() 공개 메소드

public requireOnceThrowsExceptionForInvalidIdentifier ( string $identifier )
$identifier string

setCacheDirectoryAllowsToSetTheCurrentCacheDirectory() 공개 메소드

setCacheThrowsExceptionOnNonWritableDirectory() 공개 메소드

setOverwritesAnAlreadyExistingCacheEntryForTheSameIdentifier() 공개 메소드

setReallySavesToTheSpecifiedDirectory() 공개 메소드

setThrowsExceptionForInvalidIdentifier() 공개 메소드

public setThrowsExceptionForInvalidIdentifier ( string $identifier )
$identifier string

setThrowsExceptionIfCachePathLengthExceedsMaximumPathLength() 공개 메소드

setThrowsExceptionIfDataIsNotAString() 공개 메소드

setUp() 공개 메소드

public setUp ( ) : void
리턴 void

프로퍼티 상세

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

protected FrontendInterface,Neos\Cache\Frontend|PHPUnit_Framework_MockObject_MockObject $mockCacheFrontend
리턴 Neos\Cache\Frontend\FrontendInterface | PHPUnit_Framework_MockObject_MockObject

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

protected EnvironmentConfiguration,Neos\Cache|PHPUnit_Framework_MockObject_MockObject $mockEnvironmentConfiguration
리턴 Neos\Cache\EnvironmentConfiguration | PHPUnit_Framework_MockObject_MockObject