1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/tests/Doctrine/Tests/Common/Cache/ApcCacheTest.php

22 lines
432 B
PHP
Raw Normal View History

2009-07-15 02:36:09 +04:00
<?php
namespace Doctrine\Tests\Common\Cache;
use Doctrine\Common\Cache\ApcCache;
require_once __DIR__ . '/../../TestInit.php';
class ApcCacheTest extends CacheTest
2009-07-15 02:36:09 +04:00
{
public function setUp()
{
if ( ! extension_loaded('apc')) {
$this->markTestSkipped('The ' . __CLASS__ .' requires the use of APC');
}
}
protected function _getCacheDriver()
2009-07-15 02:36:09 +04:00
{
return new ApcCache();
2009-07-15 02:36:09 +04:00
}
}