3 namespace Doctrine\Tests\Common\Cache;
5 use Doctrine\Common\Cache\ApcCache;
8 * @requires extension apc
10 class ApcCacheTest extends CacheTest
12 protected function setUp()
14 if (!ini_get('apc.enable_cli')) {
15 $this->markTestSkipped('APC must be enabled for the CLI with the ini setting apc.enable_cli=1');
19 protected function _getCacheDriver()
21 return new ApcCache();
24 public function testLifetime()
26 $this->markTestSkipped('The APC cache TTL is not working in a single process/request. See https://bugs.php.net/bug.php?id=58084');