You are here

class ArrayCacheTest in Plug 7

Hierarchy

  • class \Doctrine\Tests\Common\Cache\CacheTest extends \Doctrine\Tests\DoctrineTestCase

Expanded class hierarchy of ArrayCacheTest

File

lib/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ArrayCacheTest.php, line 7

Namespace

Doctrine\Tests\Common\Cache
View source
class ArrayCacheTest extends CacheTest {
  protected function _getCacheDriver() {
    return new ArrayCache();
  }
  public function testGetStats() {
    $cache = $this
      ->_getCacheDriver();
    $stats = $cache
      ->getStats();
    $this
      ->assertNull($stats);
  }
  protected function isSharedStorage() {
    return false;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ArrayCacheTest::isSharedStorage protected function Return whether multiple cache providers share the same storage. Overrides CacheTest::isSharedStorage
ArrayCacheTest::testGetStats public function @group DCOM-43 Overrides CacheTest::testGetStats
ArrayCacheTest::_getCacheDriver protected function Overrides CacheTest::_getCacheDriver
CacheTest::falseCastedValuesProvider public function The following values get converted to FALSE if you cast them to a boolean.
CacheTest::provideCrudValues public function
CacheTest::testBasicCrudOperations public function @dataProvider provideCrudValues
CacheTest::testDeleteAll public function
CacheTest::testDeleteAllAndNamespaceVersioningBetweenCaches public function
CacheTest::testDeleteAllNamespace public function
CacheTest::testFalseCastedValues public function Check to see that, even if the user saves a value that can be interpreted as false, the cache adapter will still recognize its existence there. 2
CacheTest::testFetchMissShouldReturnFalse public function
CacheTest::testFetchMulti public function
CacheTest::testFetchMultiWillFilterNonRequestedKeys public function
CacheTest::testFlushAll public function
CacheTest::testFlushAllAndNamespaceVersioningBetweenCaches public function
CacheTest::testNamespace public function