‪TYPO3CMS  11.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 ()
 
 setCacheConfigurationsThrowsExceptionIfConfiguredCacheDoesNotHaveAnIdentifier ()
 
 setCacheConfigurationsThrowsExceptionIfMigratedConfiguredCacheDoesNotHaveAnIdentifier ()
 

Detailed Description

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

Definition at line 46 of file CacheManagerTest.php.

Member Function Documentation

◆ flushCachesByTagCallsTheFlushByTagMethodOfAllRegisteredCaches()

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

Definition at line 131 of file CacheManagerTest.php.

◆ flushCachesByTagsCallsTheFlushByTagsMethodOfAllRegisteredCaches()

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

Definition at line 153 of file CacheManagerTest.php.

◆ flushCachesCallsTheFlushMethodOfAllRegisteredCaches()

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

Definition at line 175 of file CacheManagerTest.php.

◆ flushCachesInGroupByTagsDeletesByTag()

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

Definition at line 469 of file CacheManagerTest.php.

◆ flushCachesInGroupByTagsWithEmptyTagsArrayDoesNotFlushCaches()

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

Definition at line 434 of file CacheManagerTest.php.

◆ flushCachesInGroupByTagThrowsExceptionForNonExistingGroup()

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

Definition at line 209 of file CacheManagerTest.php.

◆ flushCachesInGroupThrowsExceptionForNonExistingGroup()

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

Definition at line 197 of file CacheManagerTest.php.

◆ getCacheCallsInitializeObjectOnBackendInstance()

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

Definition at line 282 of file CacheManagerTest.php.

◆ getCacheCallsInitializeObjectOnFrontendInstance()

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

Definition at line 261 of file CacheManagerTest.php.

◆ getCacheCreatesBackendWithGivenConfiguration()

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

Definition at line 303 of file CacheManagerTest.php.

◆ getCacheCreatesCacheInstanceWithFallbackToDefaultBackend()

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

◆ getCacheCreatesCacheInstanceWithFallbackToDefaultFrontend()

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

◆ getCacheGivesBackendInstanceToCacheFrontend()

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

Definition at line 414 of file CacheManagerTest.php.

◆ getCacheGivesIdentifierToCacheFrontend()

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

Definition at line 394 of file CacheManagerTest.php.

◆ getCacheReturnsInstanceOfTheSpecifiedCacheFrontend()

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

Definition at line 376 of file CacheManagerTest.php.

◆ getCacheThrowsExceptionForNonExistingIdentifier()

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

Definition at line 96 of file CacheManagerTest.php.

◆ getCacheThrowsExceptionIfConfiguredBackendDoesNotImplementBackendInterface()

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

Definition at line 241 of file CacheManagerTest.php.

◆ getCacheThrowsExceptionIfConfiguredFrontendDoesNotImplementFrontendInterface()

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

Definition at line 221 of file CacheManagerTest.php.

◆ hasCacheReturnsCorrectResult()

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

Definition at line 115 of file CacheManagerTest.php.

◆ managerReturnsThePreviouslyRegisteredCache()

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

Definition at line 75 of file CacheManagerTest.php.

◆ managerThrowsExceptionOnCacheRegistrationWithAlreadyExistingIdentifier()

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

Definition at line 52 of file CacheManagerTest.php.

◆ setCacheConfigurationsThrowsExceptionIfConfiguredCacheDoesNotHaveAnIdentifier()

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

Definition at line 505 of file CacheManagerTest.php.

◆ setCacheConfigurationsThrowsExceptionIfMigratedConfiguredCacheDoesNotHaveAnIdentifier()

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

Definition at line 526 of file CacheManagerTest.php.