‪TYPO3CMS  10.4
TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest:

Public Member Functions

 getReturnsPreviouslySetEntry ()
 
 getReturnsPreviouslySetEntryWithNewContentIfSetWasCalledMultipleTimes ()
 
 setInsertsDataWithTagsIntoCacheTable ()
 
 setStoresCompressedContent ()
 
 getReturnsFalseIfNoCacheEntryExists ()
 
 getReturnsFalseForExpiredCacheEntry ()
 
 getReturnsNotExpiredCacheEntry ()
 
 getReturnsUnzipsNotExpiredCacheEntry ()
 
 getReturnsEmptyStringUnzipped ()
 
 hasReturnsFalseIfNoCacheEntryExists ()
 
 hasReturnsFalseForExpiredCacheEntry ()
 
 hasReturnsNotExpiredCacheEntry ()
 
 removeReturnsFalseIfNoEntryHasBeenRemoved ()
 
 removeReturnsTrueIfAnEntryHasBeenRemoved ()
 
 removeRemovesCorrectEntriesFromDatabase ()
 
 findIdentifiersByTagReturnsIdentifierTaggedWithGivenTag ()
 
 flushByTagWorksWithEmptyCacheTablesWithMysql ()
 
 flushByTagsWorksWithEmptyCacheTablesWithMysql ()
 
 flushByTagRemovesCorrectRowsFromDatabaseWithMysql ()
 
 flushByTagsRemovesCorrectRowsFromDatabaseWithMysql ()
 
 flushByTagWorksWithEmptyCacheTablesWithNonMysql ()
 
 flushByTagsWorksWithEmptyCacheTablesWithNonMysql ()
 
 flushByTagRemovesCorrectRowsFromDatabaseWithNonMysql ()
 
 flushByTagsRemovesCorrectRowsFromDatabaseWithNonMysql ()
 
 collectGarbageWorksWithEmptyTableWithMysql ()
 
 collectGarbageRemovesCacheEntryWithExpiredLifetimeWithMysql ()
 
 collectGarbageRemovesTagEntriesForCacheEntriesWithExpiredLifetimeWithMysql ()
 
 collectGarbageRemovesOrphanedTagEntriesFromTagsTableWithMysql ()
 
 collectGarbageWorksWithEmptyTableWithNonMysql ()
 
 collectGarbageRemovesCacheEntryWithExpiredLifetimeWithNonMysql ()
 
 collectGarbageRemovesTagEntriesForCacheEntriesWithExpiredLifetimeWithNonMysql ()
 
 collectGarbageRemovesOrphanedTagEntriesFromTagsTableWithNonMysql ()
 
 flushLeavesCacheAndTagsTableEmpty ()
 

Protected Member Functions

Typo3DatabaseBackend getSubjectObject ($returnMockObject=false, $isConnectionMysql=true)
 

Detailed Description

Test case

Definition at line 27 of file Typo3DatabaseBackendTest.php.

Member Function Documentation

◆ collectGarbageRemovesCacheEntryWithExpiredLifetimeWithMysql()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::collectGarbageRemovesCacheEntryWithExpiredLifetimeWithMysql ( )
Test:

@group not-postgres @group not-mssql @group not-sqlite

Definition at line 547 of file Typo3DatabaseBackendTest.php.

References $GLOBALS.

◆ collectGarbageRemovesCacheEntryWithExpiredLifetimeWithNonMysql()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::collectGarbageRemovesCacheEntryWithExpiredLifetimeWithNonMysql ( )
Test:

Definition at line 679 of file Typo3DatabaseBackendTest.php.

References $GLOBALS.

◆ collectGarbageRemovesOrphanedTagEntriesFromTagsTableWithMysql()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::collectGarbageRemovesOrphanedTagEntriesFromTagsTableWithMysql ( )
Test:

@group not-postgres @group not-mssql @group not-sqlite

Definition at line 613 of file Typo3DatabaseBackendTest.php.

References $GLOBALS.

◆ collectGarbageRemovesOrphanedTagEntriesFromTagsTableWithNonMysql()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::collectGarbageRemovesOrphanedTagEntriesFromTagsTableWithNonMysql ( )
Test:

Definition at line 737 of file Typo3DatabaseBackendTest.php.

References $GLOBALS.

◆ collectGarbageRemovesTagEntriesForCacheEntriesWithExpiredLifetimeWithMysql()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::collectGarbageRemovesTagEntriesForCacheEntriesWithExpiredLifetimeWithMysql ( )
Test:

@group not-postgres @group not-mssql @group not-sqlite

Definition at line 580 of file Typo3DatabaseBackendTest.php.

References $GLOBALS.

◆ collectGarbageRemovesTagEntriesForCacheEntriesWithExpiredLifetimeWithNonMysql()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::collectGarbageRemovesTagEntriesForCacheEntriesWithExpiredLifetimeWithNonMysql ( )
Test:

Definition at line 708 of file Typo3DatabaseBackendTest.php.

References $GLOBALS.

◆ collectGarbageWorksWithEmptyTableWithMysql()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::collectGarbageWorksWithEmptyTableWithMysql ( )
Test:

@group not-postgres @group not-mssql @group not-sqlite

Definition at line 534 of file Typo3DatabaseBackendTest.php.

References TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest\getSubjectObject().

◆ collectGarbageWorksWithEmptyTableWithNonMysql()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::collectGarbageWorksWithEmptyTableWithNonMysql ( )
Test:

Definition at line 660 of file Typo3DatabaseBackendTest.php.

◆ findIdentifiersByTagReturnsIdentifierTaggedWithGivenTag()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::findIdentifiersByTagReturnsIdentifierTaggedWithGivenTag ( )

◆ flushByTagRemovesCorrectRowsFromDatabaseWithMysql()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::flushByTagRemovesCorrectRowsFromDatabaseWithMysql ( )
Test:

@group not-postgres @group not-mssql @group not-sqlite

Definition at line 436 of file Typo3DatabaseBackendTest.php.

References TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest\getSubjectObject().

◆ flushByTagRemovesCorrectRowsFromDatabaseWithNonMysql()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::flushByTagRemovesCorrectRowsFromDatabaseWithNonMysql ( )

◆ flushByTagsRemovesCorrectRowsFromDatabaseWithMysql()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::flushByTagsRemovesCorrectRowsFromDatabaseWithMysql ( )
Test:

@group not-postgres @group not-mssql @group not-sqlite

Definition at line 458 of file Typo3DatabaseBackendTest.php.

References TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest\getSubjectObject().

◆ flushByTagsRemovesCorrectRowsFromDatabaseWithNonMysql()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::flushByTagsRemovesCorrectRowsFromDatabaseWithNonMysql ( )

◆ flushByTagsWorksWithEmptyCacheTablesWithMysql()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::flushByTagsWorksWithEmptyCacheTablesWithMysql ( )
Test:

@group not-postgres @group not-mssql @group not-sqlite

Definition at line 423 of file Typo3DatabaseBackendTest.php.

References TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest\getSubjectObject().

◆ flushByTagsWorksWithEmptyCacheTablesWithNonMysql()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::flushByTagsWorksWithEmptyCacheTablesWithNonMysql ( )

◆ flushByTagWorksWithEmptyCacheTablesWithMysql()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::flushByTagWorksWithEmptyCacheTablesWithMysql ( )
Test:

@group not-postgres @group not-mssql @group not-sqlite

Definition at line 410 of file Typo3DatabaseBackendTest.php.

References TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest\getSubjectObject().

◆ flushByTagWorksWithEmptyCacheTablesWithNonMysql()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::flushByTagWorksWithEmptyCacheTablesWithNonMysql ( )

◆ flushLeavesCacheAndTagsTableEmpty()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::flushLeavesCacheAndTagsTableEmpty ( )
Test:

Definition at line 784 of file Typo3DatabaseBackendTest.php.

◆ getReturnsEmptyStringUnzipped()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::getReturnsEmptyStringUnzipped ( )

◆ getReturnsFalseForExpiredCacheEntry()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::getReturnsFalseForExpiredCacheEntry ( )

◆ getReturnsFalseIfNoCacheEntryExists()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::getReturnsFalseIfNoCacheEntryExists ( )
Test:

Definition at line 111 of file Typo3DatabaseBackendTest.php.

◆ getReturnsNotExpiredCacheEntry()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::getReturnsNotExpiredCacheEntry ( )

◆ getReturnsPreviouslySetEntry()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::getReturnsPreviouslySetEntry ( )
Test:

Definition at line 33 of file Typo3DatabaseBackendTest.php.

◆ getReturnsPreviouslySetEntryWithNewContentIfSetWasCalledMultipleTimes()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::getReturnsPreviouslySetEntryWithNewContentIfSetWasCalledMultipleTimes ( )
Test:

Definition at line 48 of file Typo3DatabaseBackendTest.php.

◆ getReturnsUnzipsNotExpiredCacheEntry()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::getReturnsUnzipsNotExpiredCacheEntry ( )

◆ getSubjectObject()

Typo3DatabaseBackend TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::getSubjectObject (   $returnMockObject = false,
  $isConnectionMysql = true 
)
protected

◆ hasReturnsFalseForExpiredCacheEntry()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::hasReturnsFalseForExpiredCacheEntry ( )

◆ hasReturnsFalseIfNoCacheEntryExists()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::hasReturnsFalseIfNoCacheEntryExists ( )
Test:

Definition at line 237 of file Typo3DatabaseBackendTest.php.

◆ hasReturnsNotExpiredCacheEntry()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::hasReturnsNotExpiredCacheEntry ( )

◆ removeRemovesCorrectEntriesFromDatabase()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::removeRemovesCorrectEntriesFromDatabase ( )

◆ removeReturnsFalseIfNoEntryHasBeenRemoved()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::removeReturnsFalseIfNoEntryHasBeenRemoved ( )
Test:

Definition at line 305 of file Typo3DatabaseBackendTest.php.

◆ removeReturnsTrueIfAnEntryHasBeenRemoved()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::removeReturnsTrueIfAnEntryHasBeenRemoved ( )

◆ setInsertsDataWithTagsIntoCacheTable()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::setInsertsDataWithTagsIntoCacheTable ( )
Test:

Definition at line 64 of file Typo3DatabaseBackendTest.php.

◆ setStoresCompressedContent()

TYPO3\CMS\Core\Tests\Functional\Cache\Backend\Typo3DatabaseBackendTest::setStoresCompressedContent ( )
Test:

Definition at line 84 of file Typo3DatabaseBackendTest.php.