PHP Class Neos\Cache\Tests\Unit\Backend\MemcachedBackendTest

Inheritance: extends Neos\Cache\Tests\BaseTestCase
ファイルを表示 Open project: neos/flow-development-collection

Public Methods

Method Description
findIdentifiersByTagFindsCacheEntriesWithSpecifiedTag ( )
flushByTagRemovesCacheEntriesWithSpecifiedTag ( )
flushRemovesAllCacheEntries ( )
flushRemovesOnlyOwnEntries ( )
getEnvironmentConfiguration ( ) : EnvironmentConfiguration | PHPUnit_Framework_MockObject_MockObject
hasReturnsFalseIfTheEntryDoesntExist ( )
initializeObjectThrowsExceptionIfNoMemcacheServerIsConfigured ( )
itIsPossibleToOverwriteAnEntryInTheCache ( )
itIsPossibleToRemoveEntryFromCache ( )
itIsPossibleToSetAndCheckExistenceInCache ( )
itIsPossibleToSetAndGetEntry ( )
largeDataIsStored ( ) Check if we can store ~5 MB of data, this gives some headroom for the reflection data.
removeReturnsFalseIfTheEntryDoesntExist ( )
setRemovesTagsFromPreviousSet ( )
setThrowsExceptionIfConfiguredServersAreUnreachable ( )
setThrowsExceptionIfNoFrontEndHasBeenSet ( )
setUp ( ) : void Sets up this testcase

Protected Methods

Method Description
setUpBackend ( array $backendOptions = [] ) : MemcachedBackend Sets up the memcached backend used for testing

Method Details

findIdentifiersByTagFindsCacheEntriesWithSpecifiedTag() public method

flushByTagRemovesCacheEntriesWithSpecifiedTag() public method

flushRemovesAllCacheEntries() public method

flushRemovesOnlyOwnEntries() public method

getEnvironmentConfiguration() public method

public getEnvironmentConfiguration ( ) : EnvironmentConfiguration | PHPUnit_Framework_MockObject_MockObject
return Neos\Cache\EnvironmentConfiguration | PHPUnit_Framework_MockObject_MockObject

hasReturnsFalseIfTheEntryDoesntExist() public method

initializeObjectThrowsExceptionIfNoMemcacheServerIsConfigured() public method

itIsPossibleToOverwriteAnEntryInTheCache() public method

itIsPossibleToRemoveEntryFromCache() public method

itIsPossibleToSetAndCheckExistenceInCache() public method

itIsPossibleToSetAndGetEntry() public method

largeDataIsStored() public method

Check if we can store ~5 MB of data, this gives some headroom for the reflection data.
public largeDataIsStored ( )

removeReturnsFalseIfTheEntryDoesntExist() public method

setRemovesTagsFromPreviousSet() public method

setThrowsExceptionIfConfiguredServersAreUnreachable() public method

setThrowsExceptionIfNoFrontEndHasBeenSet() public method

setUp() public method

Sets up this testcase
public setUp ( ) : void
return void

setUpBackend() protected method

Sets up the memcached backend used for testing
protected setUpBackend ( array $backendOptions = [] ) : MemcachedBackend
$backendOptions array Options for the memcache backend
return Neos\Cache\Backend\MemcachedBackend