/** * Test setup * * @return void */ public function setUp() { if (!extension_loaded('memcache') || !class_exists('\\Memcache')) { $this->markTestSkipped('The Memcache extension is not available.'); } parent::setup(); $this->cache->setDefaultDriver('memcache'); }
/** * Test setup * * @return void */ public function setUp() { if (!extension_loaded('xcache')) { $this->markTestSkipped('The xcache library is not available.'); } parent::setup(); $this->cache->setDefaultDriver('xcache'); }
/** * Test setup * * @return void */ public function setUp() { @(include_once 'Cache' . DS . 'Lite.php'); if (!extension_loaded('eaccelerator') || !function_exists('eaccelerator_get')) { $this->markTestSkipped('The eaccelerator extension is not available.'); } parent::setup(); $this->cache->setDefaultDriver('eaccelerator'); }
/** * Test setup * * @return void */ public function setUp() { @(include_once 'Cache' . DS . 'Lite.php'); if (!class_exists('Cache_Lite')) { $this->markTestSkipped('The CacheLite library is not available.'); } parent::setup(); $this->cache->setDefaultDriver('cachelite'); }
/** * Test setup * * @return void */ public function setUp() { if (!extension_loaded('apcu')) { $this->markTestSkipped('The APCu extension is not available.'); } if (!ini_get('apc.enable_cli')) { $this->markTestSkipped('You need to enable apc.enable_cli'); } parent::setup(); $this->cache->setDefaultDriver('apc'); }
/** * Test setup * * @return void */ public function setUp() { if (!extension_loaded('wincache') || !function_exists('wincache_ucache_get')) { $this->markTestSkipped('The wincache library is not available.'); } if (!ini_get('wincache.ucenabled')) { $this->markTestSkipped('You need to enable wincache.ucenabled'); } parent::setup(); $this->cache->setDefaultDriver('wincache'); }
/** * Test setup * * @return void */ public function setUp() { parent::setup(); $this->cache->setDefaultDriver('memory'); }
/** * Test setup * * @return void */ public function setup() { parent::setup(); $this->cache->setDefaultDriver('file'); }