CouchbaseCacheTest
extends CacheTest
in package
Base testcase class for all Doctrine testcases.
Tags
Table of Contents
- $couchbase : mixed
- provideCacheIds() : array<string|int, mixed>
- Returns cache ids with special characters that should still work.
- provideDataToCache() : mixed
- testCacheKeyIsCaseSensitive() : mixed
- testCanHandleSpecialCacheIds() : mixed
- testDeleteAll() : mixed
- testDeleteAllAndNamespaceVersioningBetweenCaches() : mixed
- testDeleteAllNamespace() : mixed
- testDeleteIsSuccessfulWhenKeyDoesNotExist() : mixed
- testFetchMultiple() : mixed
- testFetchMultipleWithNoKeys() : mixed
- testFlushAll() : mixed
- testFlushAllAndNamespaceVersioningBetweenCaches() : mixed
- testGetStats() : mixed
- testLifetime() : mixed
- testLongLifetime() : mixed
- testNamespace() : mixed
- testNoCacheIdCollisions() : mixed
- testNoExpire() : mixed
- testSaveMultiple() : mixed
- testSaveReturnsTrueWithAndWithoutTTlSet() : mixed
- testSetContainsFetchDelete() : mixed
- testUpdateExistingEntry() : mixed
- testValueThatIsFalseBooleanIsProperlyRetrieved() : mixed
- _getCacheDriver() : CacheProvider
- isSharedStorage() : bool
- Return whether multiple cache providers share the same storage.
- setUp() : mixed
Properties
$couchbase
private
mixed
$couchbase
Methods
provideCacheIds()
Returns cache ids with special characters that should still work.
public
provideCacheIds() : array<string|int, mixed>
For example, the characters :/<>"*?| are not valid in Windows filenames. So they must be encoded properly. Each cache id should be considered different from the others.
Return values
array<string|int, mixed> —provideDataToCache()
public
provideDataToCache() : mixed
Return values
mixed —testCacheKeyIsCaseSensitive()
public
testCacheKeyIsCaseSensitive() : mixed
Return values
mixed —testCanHandleSpecialCacheIds()
public
testCanHandleSpecialCacheIds(mixed $id) : mixed
Parameters
- $id : mixed
Tags
Return values
mixed —testDeleteAll()
public
testDeleteAll() : mixed
Return values
mixed —testDeleteAllAndNamespaceVersioningBetweenCaches()
public
testDeleteAllAndNamespaceVersioningBetweenCaches() : mixed
Return values
mixed —testDeleteAllNamespace()
public
testDeleteAllNamespace() : mixed
Return values
mixed —testDeleteIsSuccessfulWhenKeyDoesNotExist()
public
testDeleteIsSuccessfulWhenKeyDoesNotExist() : mixed
Return values
mixed —testFetchMultiple()
public
testFetchMultiple() : mixed
Return values
mixed —testFetchMultipleWithNoKeys()
public
testFetchMultipleWithNoKeys() : mixed
Return values
mixed —testFlushAll()
public
testFlushAll() : mixed
Return values
mixed —testFlushAllAndNamespaceVersioningBetweenCaches()
public
testFlushAllAndNamespaceVersioningBetweenCaches() : mixed
Return values
mixed —testGetStats()
public
testGetStats() : mixed
Tags
Return values
mixed —testLifetime()
public
testLifetime() : mixed
Return values
mixed —testLongLifetime()
public
testLongLifetime() : mixed
Return values
mixed —testNamespace()
public
testNamespace() : mixed
Return values
mixed —testNoCacheIdCollisions()
public
testNoCacheIdCollisions() : mixed
Return values
mixed —testNoExpire()
public
testNoExpire() : mixed
Return values
mixed —testSaveMultiple()
public
testSaveMultiple() : mixed
Return values
mixed —testSaveReturnsTrueWithAndWithoutTTlSet()
public
testSaveReturnsTrueWithAndWithoutTTlSet() : mixed
Return values
mixed —testSetContainsFetchDelete()
public
testSetContainsFetchDelete(mixed $value) : mixed
Parameters
- $value : mixed
Tags
Return values
mixed —testUpdateExistingEntry()
public
testUpdateExistingEntry(mixed $value) : mixed
Parameters
- $value : mixed
Tags
Return values
mixed —testValueThatIsFalseBooleanIsProperlyRetrieved()
public
testValueThatIsFalseBooleanIsProperlyRetrieved() : mixed
Return values
mixed —_getCacheDriver()
protected
_getCacheDriver() : CacheProvider
Return values
CacheProvider —isSharedStorage()
Return whether multiple cache providers share the same storage.
protected
isSharedStorage() : bool
This is used for skipping certain tests for shared storage behavior.
Return values
bool —setUp()
protected
setUp() : mixed