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

Public Member Functions

 setChecksIfTheIdentifierIsValid ()
 
 setPassesStringToBackend ()
 
 setPassesLifetimeToBackend ()
 
 setThrowsInvalidDataExceptionOnNonStringValues ()
 
 getFetchesStringValueFromBackend ()
 
 hasReturnsResultFromBackend ()
 
 removeCallsBackend ()
 
 getByTagRejectsInvalidTags ()
 
 getByTagCallsBackend ()
 

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 string cache frontend

This file is a backport from FLOW3

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

Definition at line 24 of file StringFrontendTest.php.

Member Function Documentation

◆ getByTagCallsBackend()

TYPO3\CMS\Core\Tests\Unit\Cache\Frontend\StringFrontendTest::getByTagCallsBackend ( )
Test:

Definition at line 114 of file StringFrontendTest.php.

References $backend.

◆ getByTagRejectsInvalidTags()

TYPO3\CMS\Core\Tests\Unit\Cache\Frontend\StringFrontendTest::getByTagRejectsInvalidTags ( )
Test:

Definition at line 104 of file StringFrontendTest.php.

References $backend.

◆ getFetchesStringValueFromBackend()

TYPO3\CMS\Core\Tests\Unit\Cache\Frontend\StringFrontendTest::getFetchesStringValueFromBackend ( )
Test:

Definition at line 72 of file StringFrontendTest.php.

References $backend.

◆ hasReturnsResultFromBackend()

TYPO3\CMS\Core\Tests\Unit\Cache\Frontend\StringFrontendTest::hasReturnsResultFromBackend ( )
Test:

Definition at line 82 of file StringFrontendTest.php.

References $backend.

◆ removeCallsBackend()

TYPO3\CMS\Core\Tests\Unit\Cache\Frontend\StringFrontendTest::removeCallsBackend ( )
Test:

Definition at line 92 of file StringFrontendTest.php.

References $backend.

◆ setChecksIfTheIdentifierIsValid()

TYPO3\CMS\Core\Tests\Unit\Cache\Frontend\StringFrontendTest::setChecksIfTheIdentifierIsValid ( )
Test:

Definition at line 30 of file StringFrontendTest.php.

◆ setPassesLifetimeToBackend()

TYPO3\CMS\Core\Tests\Unit\Cache\Frontend\StringFrontendTest::setPassesLifetimeToBackend ( )
Test:

Definition at line 50 of file StringFrontendTest.php.

References $backend.

◆ setPassesStringToBackend()

TYPO3\CMS\Core\Tests\Unit\Cache\Frontend\StringFrontendTest::setPassesStringToBackend ( )
Test:

Definition at line 39 of file StringFrontendTest.php.

References $backend.

◆ setThrowsInvalidDataExceptionOnNonStringValues()

TYPO3\CMS\Core\Tests\Unit\Cache\Frontend\StringFrontendTest::setThrowsInvalidDataExceptionOnNonStringValues ( )
Test:

Definition at line 63 of file StringFrontendTest.php.

References $backend.