public function setUp($notag = true) { if (!function_exists('zend_shm_cache_store')) { $this->markTestSkipped('Zend_Cache Zend Server ShMem backend tests not enabled'); } $this->_instance = new Cache\Backend\ZendServer\ShMem(); parent::setUp(true); }
public function setUp($notag = true) { if (!constant('TESTS_ZEND_CACHE_XCACHE_ENABLED')) { $this->markTestSkipped('Zend_Cache XCache tests not enabled'); } $this->_instance = new Cache\Backend\Xcache(array('user' => TESTS_ZEND_CACHE_XCACHE_USER, 'password' => TESTS_ZEND_CACHE_XCACHE_PASSWORD)); parent::setUp($notag); }
public function setUp($notag = false) { if (!function_exists('output_cache_get')) { $this->markTestSkipped('Zend Platform is not installed, skipping test'); return; } $this->_instance = new Cache\Backend\ZendPlatform(array()); parent::setUp($notag); }
public function setUp($notag = false) { parent::setUp($notag); $this->_capabilities = $this->_instance->getCapabilities(); }