XcacheCacheTest.php 447 Bytes
Newer Older
jwage's avatar
jwage committed
1 2 3 4 5 6 7 8
<?php

namespace Doctrine\Tests\Common\Cache;

use Doctrine\Common\Cache\XcacheCache;

require_once __DIR__ . '/../../TestInit.php';

9
class XcacheCacheTest extends CacheTest
jwage's avatar
jwage committed
10 11 12 13 14 15 16 17
{
    public function setUp()
    {
        if ( ! extension_loaded('xcache')) {
            $this->markTestSkipped('The ' . __CLASS__ .' requires the use of xcache');
        }
    }

18
    protected function _getCacheDriver()
jwage's avatar
jwage committed
19
    {
20
        return new XcacheCache();
jwage's avatar
jwage committed
21 22
    }
}