TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Cache\CacheManagerTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 managerThrowsExceptionOnCacheRegistrationWithAlreadyExistingIdentifier ()
 
 managerReturnsThePreviouslyRegisteredCache ()
 
 getCacheThrowsExceptionForNonExistingIdentifier ()
 
 hasCacheReturnsCorrectResult ()
 
 flushCachesByTagCallsTheFlushByTagMethodOfAllRegisteredCaches ()
 
 flushCachesCallsTheFlushMethodOfAllRegisteredCaches ()
 
 flushCachesInGroupThrowsExceptionForNonExistingGroup ()
 
 flushCachesInGroupByTagThrowsExceptionForNonExistingGroup ()
 
 getCacheCreatesCacheInstanceWithGivenConfiguration ()
 
 getCacheCreatesCacheInstanceWithFallbackToDefaultFrontend ()
 
 getCacheCreatesCacheInstanceWithFallbackToDefaultBackend ()
 
 getCacheCreatesCacheInstanceWithFallbackToDefaultBackenOptions ()
 

Additional Inherited Members

- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\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)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase for the TYPO3

This file is a backport from FLOW3

Definition at line 22 of file CacheManagerTest.php.

Member Function Documentation

◆ flushCachesByTagCallsTheFlushByTagMethodOfAllRegisteredCaches()

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

Definition at line 84 of file CacheManagerTest.php.

◆ flushCachesCallsTheFlushMethodOfAllRegisteredCaches()

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

Definition at line 100 of file CacheManagerTest.php.

◆ flushCachesInGroupByTagThrowsExceptionForNonExistingGroup()

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

Definition at line 127 of file CacheManagerTest.php.

◆ flushCachesInGroupThrowsExceptionForNonExistingGroup()

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

Definition at line 117 of file CacheManagerTest.php.

◆ getCacheCreatesCacheInstanceWithFallbackToDefaultBackend()

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

◆ getCacheCreatesCacheInstanceWithFallbackToDefaultBackenOptions()

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

◆ getCacheCreatesCacheInstanceWithFallbackToDefaultFrontend()

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

◆ getCacheCreatesCacheInstanceWithGivenConfiguration()

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

◆ getCacheThrowsExceptionForNonExistingIdentifier()

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

Definition at line 58 of file CacheManagerTest.php.

◆ hasCacheReturnsCorrectResult()

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

Definition at line 71 of file CacheManagerTest.php.

◆ managerReturnsThePreviouslyRegisteredCache()

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

Definition at line 42 of file CacheManagerTest.php.

◆ managerThrowsExceptionOnCacheRegistrationWithAlreadyExistingIdentifier()

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

Definition at line 28 of file CacheManagerTest.php.