TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
WincacheBackendTest Class Reference
Inheritance diagram for WincacheBackendTest:
UnitTestCase BaseTestCase

Public Member Functions

 setThrowsExceptionIfNoFrontEndHasBeenSet ()
 
 itIsPossibleToSetAndCheckExistenceInCache ()
 
 itIsPossibleToSetAndGetEntry ()
 
 itIsPossibleToRemoveEntryFromCache ()
 
 itIsPossibleToOverwriteAnEntryInTheCache ()
 
 findIdentifiersByTagFindsSetEntries ()
 
 setRemovesTagsFromPreviousSet ()
 
 hasReturnsFalseIfTheEntryDoesntExist ()
 
 removeReturnsFalseIfTheEntryDoesntExist ()
 
 flushByTagRemovesCacheEntriesWithSpecifiedTag ()
 
 flushByTagsRemovesCacheEntriesWithSpecifiedTags ()
 
 flushRemovesAllCacheEntries ()
 
 largeDataIsStored ()
 
 setTagsOnlyOnceToIdentifier ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Additional Inherited Members

- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase for the WinCache cache backend

Definition at line 22 of file WincacheBackendTest.php.

Member Function Documentation

findIdentifiersByTagFindsSetEntries ( )
Test:

Definition at line 108 of file WincacheBackendTest.php.

References BaseTestCase\getUniqueId().

flushByTagRemovesCacheEntriesWithSpecifiedTag ( )
Test:

Definition at line 159 of file WincacheBackendTest.php.

flushByTagsRemovesCacheEntriesWithSpecifiedTags ( )
Test:

Definition at line 175 of file WincacheBackendTest.php.

flushRemovesAllCacheEntries ( )
Test:

Definition at line 191 of file WincacheBackendTest.php.

hasReturnsFalseIfTheEntryDoesntExist ( )
Test:

Definition at line 137 of file WincacheBackendTest.php.

References BaseTestCase\getUniqueId().

itIsPossibleToOverwriteAnEntryInTheCache ( )
Test:

Definition at line 93 of file WincacheBackendTest.php.

References BaseTestCase\getUniqueId().

itIsPossibleToRemoveEntryFromCache ( )
Test:

Definition at line 79 of file WincacheBackendTest.php.

References BaseTestCase\getUniqueId().

itIsPossibleToSetAndCheckExistenceInCache ( )
Test:

Definition at line 53 of file WincacheBackendTest.php.

References BaseTestCase\getUniqueId().

itIsPossibleToSetAndGetEntry ( )
Test:

Definition at line 66 of file WincacheBackendTest.php.

References BaseTestCase\getUniqueId().

largeDataIsStored ( )

Check if we can store ~5 MB of data

Test:

Definition at line 232 of file WincacheBackendTest.php.

References BaseTestCase\getUniqueId().

removeReturnsFalseIfTheEntryDoesntExist ( )
Test:

Definition at line 148 of file WincacheBackendTest.php.

References BaseTestCase\getUniqueId().

setRemovesTagsFromPreviousSet ( )
Test:

Definition at line 123 of file WincacheBackendTest.php.

References BaseTestCase\getUniqueId().

setTagsOnlyOnceToIdentifier ( )
Test:

Definition at line 245 of file WincacheBackendTest.php.

References BaseTestCase\getUniqueId().

setThrowsExceptionIfNoFrontEndHasBeenSet ( )
Test:

Definition at line 39 of file WincacheBackendTest.php.

References BaseTestCase\getUniqueId().

setUp ( )
protected

Sets up this testcase

Returns
void

Definition at line 29 of file WincacheBackendTest.php.