scratch – Blame information for rev 115

Subversion Repositories:
Rev:
Rev Author Line No. Line
115 office 1 <?php
2  
3 namespace Doctrine\Tests\Common\Cache;
4  
5 use Doctrine\Common\Cache\ApcCache;
6  
7 /**
8 * @requires extension apc
9 */
10 class ApcCacheTest extends CacheTest
11 {
12 protected function setUp()
13 {
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');
16 }
17 }
18  
19 protected function _getCacheDriver()
20 {
21 return new ApcCache();
22 }
23  
24 public function testLifetime()
25 {
26 $this->markTestSkipped('The APC cache TTL is not working in a single process/request. See https://bugs.php.net/bug.php?id=58084');
27 }
28 }