XcacheCacheTest.php

Namespace

Doctrine\Tests\Common\Cache

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Cache/XcacheCacheTest.php
View source
<?php

namespace Doctrine\Tests\Common\Cache;

use Doctrine\Common\Cache\XcacheCache;
class XcacheCacheTest extends CacheTest {
  public function setUp() {
    if (!extension_loaded('xcache')) {
      $this
        ->markTestSkipped('The ' . __CLASS__ . ' requires the use of xcache');
    }
  }
  protected function _getCacheDriver() {
    return new XcacheCache();
  }

}

Classes

Namesort descending Description
XcacheCacheTest