TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Tests\Unit\Cache\Backend\TransientMemoryBackendTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Cache\Backend\TransientMemoryBackendTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 setThrowsExceptionIfNoFrontEndHasBeenSet ()
 
 itIsPossibleToSetAndCheckExistenceInCache ()
 
 itIsPossibleToSetAndGetEntry ()
 
 itIsPossibleToRemoveEntryFromCache ()
 
 itIsPossibleToOverwriteAnEntryInTheCache ()
 
 findIdentifiersByTagFindsCacheEntriesWithSpecifiedTag ()
 
 hasReturnsFalseIfTheEntryDoesntExist ()
 
 removeReturnsFalseIfTheEntryDoesntExist ()
 
 flushByTagRemovesCacheEntriesWithSpecifiedTag ()
 
 flushRemovesAllCacheEntries ()
 

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 TransientMemory cache backend

This file is a backport from FLOW3

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

Definition at line 24 of file TransientMemoryBackendTest.php.

Member Function Documentation

◆ findIdentifiersByTagFindsCacheEntriesWithSpecifiedTag()

TYPO3\CMS\Core\Tests\Unit\Cache\Backend\TransientMemoryBackendTest::findIdentifiersByTagFindsCacheEntriesWithSpecifiedTag ( )
Test:

Definition at line 99 of file TransientMemoryBackendTest.php.

References $backend.

◆ flushByTagRemovesCacheEntriesWithSpecifiedTag()

TYPO3\CMS\Core\Tests\Unit\Cache\Backend\TransientMemoryBackendTest::flushByTagRemovesCacheEntriesWithSpecifiedTag ( )
Test:

Definition at line 139 of file TransientMemoryBackendTest.php.

References $backend.

◆ flushRemovesAllCacheEntries()

TYPO3\CMS\Core\Tests\Unit\Cache\Backend\TransientMemoryBackendTest::flushRemovesAllCacheEntries ( )
Test:

Definition at line 156 of file TransientMemoryBackendTest.php.

References $backend.

◆ hasReturnsFalseIfTheEntryDoesntExist()

TYPO3\CMS\Core\Tests\Unit\Cache\Backend\TransientMemoryBackendTest::hasReturnsFalseIfTheEntryDoesntExist ( )
Test:

Definition at line 115 of file TransientMemoryBackendTest.php.

References $backend.

◆ itIsPossibleToOverwriteAnEntryInTheCache()

TYPO3\CMS\Core\Tests\Unit\Cache\Backend\TransientMemoryBackendTest::itIsPossibleToOverwriteAnEntryInTheCache ( )
Test:

Definition at line 83 of file TransientMemoryBackendTest.php.

References $backend.

◆ itIsPossibleToRemoveEntryFromCache()

TYPO3\CMS\Core\Tests\Unit\Cache\Backend\TransientMemoryBackendTest::itIsPossibleToRemoveEntryFromCache ( )
Test:

Definition at line 68 of file TransientMemoryBackendTest.php.

References $backend.

◆ itIsPossibleToSetAndCheckExistenceInCache()

TYPO3\CMS\Core\Tests\Unit\Cache\Backend\TransientMemoryBackendTest::itIsPossibleToSetAndCheckExistenceInCache ( )
Test:

Definition at line 40 of file TransientMemoryBackendTest.php.

References $backend.

◆ itIsPossibleToSetAndGetEntry()

TYPO3\CMS\Core\Tests\Unit\Cache\Backend\TransientMemoryBackendTest::itIsPossibleToSetAndGetEntry ( )
Test:

Definition at line 54 of file TransientMemoryBackendTest.php.

References $backend.

◆ removeReturnsFalseIfTheEntryDoesntExist()

TYPO3\CMS\Core\Tests\Unit\Cache\Backend\TransientMemoryBackendTest::removeReturnsFalseIfTheEntryDoesntExist ( )
Test:

Definition at line 127 of file TransientMemoryBackendTest.php.

References $backend.

◆ setThrowsExceptionIfNoFrontEndHasBeenSet()

TYPO3\CMS\Core\Tests\Unit\Cache\Backend\TransientMemoryBackendTest::setThrowsExceptionIfNoFrontEndHasBeenSet ( )
Test:

Definition at line 30 of file TransientMemoryBackendTest.php.

References $backend.