protected function setUp() { parent::setUp(); if (!extension_loaded('memcache')) { $this->markTestSkipped('Memcache is not installed'); } }
protected function setUp() { parent::setUp(); if (!function_exists('apc_store')) { $this->markTestSkipped('APC is not installed'); } }
/** * 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'); }
protected function setUp() { parent::setUp(); //TODO: Check that predis is being detected properly if (!class_exists('Predis\\Client')) { $this->markTestSkipped('Predis is not installed'); } }
/** * 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'); }
function __construct($name = null, $data = [], $dataName = '') { parent::__construct($name, $data, $dataName); $this->wrapper =& PhuGlobal::$mcWrapper; $this->wrapper_name = 'MemcachedWrapper'; }
protected function setUp() { parent::setUp(); }
/** * 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'); }
function __construct($name = null, $data = [], $dataName = '') { parent::__construct($name, $data, $dataName); $this->wrapper =& PhuGlobal::$redisWrapper; $this->wrapper_name = 'RedisWrapper'; }