TYPO3 CMS  TYPO3_6-2
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, array $methods=array(), array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = array('TYPO3_LOADED_EXT')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = TRUE
 
 $backupStaticAttributes = FALSE
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Testcase for the TYPO3

This file is a backport from FLOW3

Author
Ingo Renner ingo@.nosp@m.typo.nosp@m.3.org

Definition at line 24 of file CacheManagerTest.php.

Member Function Documentation

◆ flushCachesByTagCallsTheFlushByTagMethodOfAllRegisteredCaches()

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

Definition at line 82 of file CacheManagerTest.php.

◆ flushCachesCallsTheFlushMethodOfAllRegisteredCaches()

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

Definition at line 97 of file CacheManagerTest.php.

◆ flushCachesInGroupByTagThrowsExceptionForNonExistingGroup()

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

Definition at line 122 of file CacheManagerTest.php.

◆ flushCachesInGroupThrowsExceptionForNonExistingGroup()

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

Definition at line 113 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 70 of file CacheManagerTest.php.

◆ managerReturnsThePreviouslyRegisteredCache()

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

Definition at line 43 of file CacheManagerTest.php.

◆ managerThrowsExceptionOnCacheRegistrationWithAlreadyExistingIdentifier()

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

Definition at line 30 of file CacheManagerTest.php.