‪TYPO3CMS  9.5
TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest:

Public Member Functions

 managerThrowsExceptionOnCacheRegistrationWithAlreadyExistingIdentifier ()
 
 managerReturnsThePreviouslyRegisteredCache ()
 
 getCacheThrowsExceptionForNonExistingIdentifier ()
 
 hasCacheReturnsCorrectResult ()
 
 flushCachesByTagCallsTheFlushByTagMethodOfAllRegisteredCaches ()
 
 flushCachesByTagsCallsTheFlushByTagsMethodOfAllRegisteredCaches ()
 
 flushCachesCallsTheFlushMethodOfAllRegisteredCaches ()
 
 flushCachesInGroupThrowsExceptionForNonExistingGroup ()
 
 flushCachesInGroupByTagThrowsExceptionForNonExistingGroup ()
 
 getCacheThrowsExceptionIfConfiguredFrontendDoesNotImplementFrontendInterface ()
 
 getCacheThrowsExceptionIfConfiguredBackendDoesNotImplementBackendInterface ()
 
 getCacheCallsInitializeObjectOnFrontendInstance ()
 
 getCacheCallsInitializeObjectOnBackendInstance ()
 
 getCacheCreatesBackendWithGivenConfiguration ()
 
 getCacheCreatesCacheInstanceWithFallbackToDefaultFrontend ()
 
 getCacheCreatesCacheInstanceWithFallbackToDefaultBackend ()
 
 getCacheReturnsInstanceOfTheSpecifiedCacheFrontend ()
 
 getCacheGivesIdentifierToCacheFrontend ()
 
 getCacheGivesBackendInstanceToCacheFrontend ()
 
 flushCachesInGroupByTagsWithEmptyTagsArrayDoesNotFlushCaches ()
 
 flushCachesInGroupByTagsDeletesByTag ()
 

Detailed Description

Testcase for the TYPO3\CMS\Core\Cache\CacheManager

Definition at line 37 of file CacheManagerTest.php.

Member Function Documentation

◆ flushCachesByTagCallsTheFlushByTagMethodOfAllRegisteredCaches()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::flushCachesByTagCallsTheFlushByTagMethodOfAllRegisteredCaches ( )
Test:

Definition at line 121 of file CacheManagerTest.php.

◆ flushCachesByTagsCallsTheFlushByTagsMethodOfAllRegisteredCaches()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::flushCachesByTagsCallsTheFlushByTagsMethodOfAllRegisteredCaches ( )
Test:

Definition at line 143 of file CacheManagerTest.php.

◆ flushCachesCallsTheFlushMethodOfAllRegisteredCaches()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::flushCachesCallsTheFlushMethodOfAllRegisteredCaches ( )
Test:

Definition at line 165 of file CacheManagerTest.php.

◆ flushCachesInGroupByTagsDeletesByTag()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::flushCachesInGroupByTagsDeletesByTag ( )
Test:

Definition at line 462 of file CacheManagerTest.php.

◆ flushCachesInGroupByTagsWithEmptyTagsArrayDoesNotFlushCaches()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::flushCachesInGroupByTagsWithEmptyTagsArrayDoesNotFlushCaches ( )
Test:

Definition at line 426 of file CacheManagerTest.php.

◆ flushCachesInGroupByTagThrowsExceptionForNonExistingGroup()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::flushCachesInGroupByTagThrowsExceptionForNonExistingGroup ( )
Test:

Definition at line 199 of file CacheManagerTest.php.

◆ flushCachesInGroupThrowsExceptionForNonExistingGroup()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::flushCachesInGroupThrowsExceptionForNonExistingGroup ( )
Test:

Definition at line 187 of file CacheManagerTest.php.

◆ getCacheCallsInitializeObjectOnBackendInstance()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::getCacheCallsInitializeObjectOnBackendInstance ( )
Test:

Definition at line 272 of file CacheManagerTest.php.

◆ getCacheCallsInitializeObjectOnFrontendInstance()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::getCacheCallsInitializeObjectOnFrontendInstance ( )
Test:

Definition at line 251 of file CacheManagerTest.php.

◆ getCacheCreatesBackendWithGivenConfiguration()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::getCacheCreatesBackendWithGivenConfiguration ( )
Test:

Definition at line 293 of file CacheManagerTest.php.

◆ getCacheCreatesCacheInstanceWithFallbackToDefaultBackend()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::getCacheCreatesCacheInstanceWithFallbackToDefaultBackend ( )
Test:

Definition at line 342 of file CacheManagerTest.php.

◆ getCacheCreatesCacheInstanceWithFallbackToDefaultFrontend()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::getCacheCreatesCacheInstanceWithFallbackToDefaultFrontend ( )
Test:

Definition at line 316 of file CacheManagerTest.php.

◆ getCacheGivesBackendInstanceToCacheFrontend()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::getCacheGivesBackendInstanceToCacheFrontend ( )
Test:

Definition at line 406 of file CacheManagerTest.php.

◆ getCacheGivesIdentifierToCacheFrontend()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::getCacheGivesIdentifierToCacheFrontend ( )
Test:

Definition at line 386 of file CacheManagerTest.php.

◆ getCacheReturnsInstanceOfTheSpecifiedCacheFrontend()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::getCacheReturnsInstanceOfTheSpecifiedCacheFrontend ( )
Test:

Definition at line 368 of file CacheManagerTest.php.

◆ getCacheThrowsExceptionForNonExistingIdentifier()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::getCacheThrowsExceptionForNonExistingIdentifier ( )
Test:

Definition at line 86 of file CacheManagerTest.php.

◆ getCacheThrowsExceptionIfConfiguredBackendDoesNotImplementBackendInterface()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::getCacheThrowsExceptionIfConfiguredBackendDoesNotImplementBackendInterface ( )
Test:

Definition at line 231 of file CacheManagerTest.php.

◆ getCacheThrowsExceptionIfConfiguredFrontendDoesNotImplementFrontendInterface()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::getCacheThrowsExceptionIfConfiguredFrontendDoesNotImplementFrontendInterface ( )
Test:

Definition at line 211 of file CacheManagerTest.php.

◆ hasCacheReturnsCorrectResult()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::hasCacheReturnsCorrectResult ( )
Test:

Definition at line 105 of file CacheManagerTest.php.

◆ managerReturnsThePreviouslyRegisteredCache()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::managerReturnsThePreviouslyRegisteredCache ( )
Test:

Definition at line 65 of file CacheManagerTest.php.

◆ managerThrowsExceptionOnCacheRegistrationWithAlreadyExistingIdentifier()

TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest::managerThrowsExceptionOnCacheRegistrationWithAlreadyExistingIdentifier ( )
Test:

Definition at line 42 of file CacheManagerTest.php.