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

Public Member Functions

 setThrowsExceptionIfNoFrontEndHasBeenSet ()
 
 itIsPossibleToSetAndCheckExistenceInCache ()
 
 itIsPossibleToSetAndGetEntry ()
 
 itIsPossibleToRemoveEntryFromCache ()
 
 itIsPossibleToOverwriteAnEntryInTheCache ()
 
 findIdentifiersByTagFindsSetEntries ()
 
 setRemovesTagsFromPreviousSet ()
 
 setOverwritesExistingEntryThatExceededItsLifetimeWithNewData ()
 
 hasReturnsFalseIfTheEntryDoesntExist ()
 
 removeReturnsFalseIfTheEntryDoesntExist ()
 
 flushByTagRemovesCacheEntriesWithSpecifiedTag ()
 
 flushByTagsRemovesCacheEntriesWithSpecifiedTags ()
 
 flushRemovesAllCacheEntries ()
 
 flushRemovesOnlyOwnEntries ()
 
 collectGarbageReallyRemovesAnExpiredCacheEntry ()
 
 collectGarbageReallyRemovesAllExpiredCacheEntries ()
 

Protected Member Functions

 setUp ()
 
 setUpBackend ()
 
- 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 PDO cache backend

Definition at line 20 of file PdoBackendTest.php.

Member Function Documentation

collectGarbageReallyRemovesAllExpiredCacheEntries ( )
Test:

Definition at line 249 of file PdoBackendTest.php.

References $GLOBALS, and PdoBackendTest\setUpBackend().

collectGarbageReallyRemovesAnExpiredCacheEntry ( )
Test:

Definition at line 234 of file PdoBackendTest.php.

References $GLOBALS, and PdoBackendTest\setUpBackend().

findIdentifiersByTagFindsSetEntries ( )
Test:

Definition at line 102 of file PdoBackendTest.php.

References PdoBackendTest\setUpBackend().

flushByTagRemovesCacheEntriesWithSpecifiedTag ( )
Test:

Definition at line 166 of file PdoBackendTest.php.

References PdoBackendTest\setUpBackend().

flushByTagsRemovesCacheEntriesWithSpecifiedTags ( )
Test:

Definition at line 182 of file PdoBackendTest.php.

References PdoBackendTest\setUpBackend().

flushRemovesAllCacheEntries ( )
Test:

Definition at line 198 of file PdoBackendTest.php.

References PdoBackendTest\setUpBackend().

flushRemovesOnlyOwnEntries ( )
Test:

Definition at line 214 of file PdoBackendTest.php.

References PdoBackendTest\setUpBackend().

hasReturnsFalseIfTheEntryDoesntExist ( )
Test:

Definition at line 146 of file PdoBackendTest.php.

References PdoBackendTest\setUpBackend().

itIsPossibleToOverwriteAnEntryInTheCache ( )
Test:

Definition at line 87 of file PdoBackendTest.php.

References PdoBackendTest\setUpBackend().

itIsPossibleToRemoveEntryFromCache ( )
Test:

Definition at line 74 of file PdoBackendTest.php.

References PdoBackendTest\setUpBackend().

itIsPossibleToSetAndCheckExistenceInCache ( )
Test:

Definition at line 49 of file PdoBackendTest.php.

References PdoBackendTest\setUpBackend().

itIsPossibleToSetAndGetEntry ( )
Test:

Definition at line 61 of file PdoBackendTest.php.

References PdoBackendTest\setUpBackend().

removeReturnsFalseIfTheEntryDoesntExist ( )
Test:

Definition at line 156 of file PdoBackendTest.php.

References PdoBackendTest\setUpBackend().

setOverwritesExistingEntryThatExceededItsLifetimeWithNewData ( )
setRemovesTagsFromPreviousSet ( )
Test:

Definition at line 117 of file PdoBackendTest.php.

References PdoBackendTest\setUpBackend().

setThrowsExceptionIfNoFrontEndHasBeenSet ( )
Test:

Definition at line 35 of file PdoBackendTest.php.

setUp ( )
protected

Sets up this testcase

Definition at line 25 of file PdoBackendTest.php.