Rajout de doctrine/orm
[zf2.biz/galerie.git] / vendor / doctrine / common / tests / Doctrine / Tests / Common / Cache / ApcCacheTest.php
1 <?php
2
3 namespace Doctrine\Tests\Common\Cache;
4
5 use Doctrine\Common\Cache\ApcCache;
6
7 class ApcCacheTest extends CacheTest
8 {
9     public function setUp()
10     {
11         if ( ! extension_loaded('apc') || false === @apc_cache_info()) {
12             $this->markTestSkipped('The ' . __CLASS__ .' requires the use of APC');
13         }
14     }
15
16     protected function _getCacheDriver()
17     {
18         return new ApcCache();
19     }
20 }