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

Public Member Functions

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

Additional Inherited Members

- 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= '')
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase for the TYPO3

This file is a backport from FLOW3

Definition at line 38 of file CacheManagerTest.php.

Member Function Documentation

flushCachesByTagCallsTheFlushByTagMethodOfAllRegisteredCaches ( )
Test:

Definition at line 122 of file CacheManagerTest.php.

flushCachesByTagsCallsTheFlushByTagsMethodOfAllRegisteredCaches ( )
Test:

Definition at line 144 of file CacheManagerTest.php.

flushCachesCallsTheFlushMethodOfAllRegisteredCaches ( )
Test:

Definition at line 166 of file CacheManagerTest.php.

flushCachesInGroupByTagThrowsExceptionForNonExistingGroup ( )
Test:

Definition at line 200 of file CacheManagerTest.php.

flushCachesInGroupThrowsExceptionForNonExistingGroup ( )
Test:

Definition at line 188 of file CacheManagerTest.php.

getCacheCallsInitializeObjectOnBackendInstance ( )
Test:

Definition at line 273 of file CacheManagerTest.php.

getCacheCallsInitializeObjectOnFrontendInstance ( )
Test:

Definition at line 252 of file CacheManagerTest.php.

getCacheCreatesBackendWithGivenConfiguration ( )
Test:

Definition at line 294 of file CacheManagerTest.php.

getCacheGivesBackendInstanceToCacheFrontend ( )
Test:

Definition at line 407 of file CacheManagerTest.php.

getCacheGivesIdentifierToCacheFrontend ( )
Test:

Definition at line 387 of file CacheManagerTest.php.

getCacheReturnsInstanceOfTheSpecifiedCacheFrontend ( )
Test:

Definition at line 369 of file CacheManagerTest.php.

getCacheThrowsExceptionForNonExistingIdentifier ( )
Test:

Definition at line 87 of file CacheManagerTest.php.

getCacheThrowsExceptionIfConfiguredBackendDoesNotImplementBackendInterface ( )
Test:

Definition at line 232 of file CacheManagerTest.php.

getCacheThrowsExceptionIfConfiguredFrontendDoesNotImplementFrontendInterface ( )
Test:

Definition at line 212 of file CacheManagerTest.php.

hasCacheReturnsCorrectResult ( )
Test:

Definition at line 106 of file CacheManagerTest.php.

managerReturnsThePreviouslyRegisteredCache ( )
Test:

Definition at line 66 of file CacheManagerTest.php.

managerThrowsExceptionOnCacheRegistrationWithAlreadyExistingIdentifier ( )
Test:

Definition at line 43 of file CacheManagerTest.php.