public function __construct($config = null) { parent::__construct($config); if (PHP_SAPI == 'cli' && !ini_get('apc.enable_cli')) { $this->skip('apc loaded but not enabled for cli'); } }
/** * * Setup; runs before each test method. * */ public function preTest() { if (is_null($this->_config['path'])) { $this->_config['path'] = Solar_Dir::tmp('/Solar_Cache_Testing/'); } parent::preTest(); /** * @todo remove requirement that deleteAll() actually work here */ // remove all previous entries $this->_adapter->deleteAll(); }
public function setup() { parent::setup(); $this->_adapter->deleteAll(); }
public function preTest() { parent::preTest(); $this->_adapter->deleteAll(); }