‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest:

Public Member Functions

 setThrowsExceptionIfNoFrontEndHasBeenSet ()
 
 itIsPossibleToSetAndCheckExistenceInCache ()
 
 itIsPossibleToSetAndGetEntry (mixed $data)
 
 itIsPossibleToSetAndGetObject ()
 
 itIsPossibleToRemoveEntryFromCache ()
 
 itIsPossibleToOverwriteAnEntryInTheCache ()
 
 findIdentifiersByTagFindsSetEntries ()
 
 setRemovesTagsFromPreviousSet ()
 
 hasReturnsFalseIfTheEntryDoesNotExist ()
 
 removeReturnsFalseIfTheEntryDoesntExist ()
 
 flushByTagRemovesCacheEntriesWithSpecifiedTag ()
 
 flushByTagsRemovesCacheEntriesWithSpecifiedTags ()
 
 flushRemovesAllCacheEntries ()
 
 flushRemovesOnlyOwnEntries ()
 
 largeDataIsStored ()
 
 setTagsOnlyOnceToIdentifier ()
 

Static Public Member Functions

static itIsPossibleToSetAndGetEntryDataProvider ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Protected Attributes

bool $initializeDatabase = false
 

Detailed Description

NOTE: If you want to execute these tests you need to enable apc in cli context (apc.enable_cli = 1) and disable slam defense (apc.slam_defense = 0)

Definition at line 32 of file ApcuBackendTest.php.

Member Function Documentation

◆ findIdentifiersByTagFindsSetEntries()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::findIdentifiersByTagFindsSetEntries ( )

◆ flushByTagRemovesCacheEntriesWithSpecifiedTag()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::flushByTagRemovesCacheEntriesWithSpecifiedTag ( )

Definition at line 183 of file ApcuBackendTest.php.

◆ flushByTagsRemovesCacheEntriesWithSpecifiedTags()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::flushByTagsRemovesCacheEntriesWithSpecifiedTags ( )

Definition at line 198 of file ApcuBackendTest.php.

◆ flushRemovesAllCacheEntries()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::flushRemovesAllCacheEntries ( )

Definition at line 213 of file ApcuBackendTest.php.

◆ flushRemovesOnlyOwnEntries()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::flushRemovesOnlyOwnEntries ( )

Definition at line 228 of file ApcuBackendTest.php.

◆ hasReturnsFalseIfTheEntryDoesNotExist()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::hasReturnsFalseIfTheEntryDoesNotExist ( )

◆ itIsPossibleToOverwriteAnEntryInTheCache()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::itIsPossibleToOverwriteAnEntryInTheCache ( )

◆ itIsPossibleToRemoveEntryFromCache()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::itIsPossibleToRemoveEntryFromCache ( )

◆ itIsPossibleToSetAndCheckExistenceInCache()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::itIsPossibleToSetAndCheckExistenceInCache ( )

◆ itIsPossibleToSetAndGetEntry()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::itIsPossibleToSetAndGetEntry ( mixed  $data)

◆ itIsPossibleToSetAndGetEntryDataProvider()

static TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::itIsPossibleToSetAndGetEntryDataProvider ( )
static

Definition at line 76 of file ApcuBackendTest.php.

◆ itIsPossibleToSetAndGetObject()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::itIsPossibleToSetAndGetObject ( )

◆ largeDataIsStored()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::largeDataIsStored ( )

Check if we can store ~5 MB of data

Definition at line 250 of file ApcuBackendTest.php.

References TYPO3\CMS\Webhooks\Message\$identifier, and TYPO3\CMS\Core\Utility\StringUtility\getUniqueId().

◆ removeReturnsFalseIfTheEntryDoesntExist()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::removeReturnsFalseIfTheEntryDoesntExist ( )

◆ setRemovesTagsFromPreviousSet()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::setRemovesTagsFromPreviousSet ( )

◆ setTagsOnlyOnceToIdentifier()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::setTagsOnlyOnceToIdentifier ( )

◆ setThrowsExceptionIfNoFrontEndHasBeenSet()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::setThrowsExceptionIfNoFrontEndHasBeenSet ( )

◆ setUp()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::setUp ( )
protected

Definition at line 36 of file ApcuBackendTest.php.

◆ tearDown()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::tearDown ( )
protected

Definition at line 48 of file ApcuBackendTest.php.

Member Data Documentation

◆ $initializeDatabase

bool TYPO3\CMS\Core\Tests\Functional\Cache\Backend\ApcuBackendTest::$initializeDatabase = false
protected

Definition at line 34 of file ApcuBackendTest.php.