Пример #1
0
 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');
     }
 }
Пример #2
0
 /**
  * 
  * 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();
 }
Пример #3
0
 public function setup()
 {
     parent::setup();
     $this->_adapter->deleteAll();
 }
Пример #4
0
 public function preTest()
 {
     parent::preTest();
     $this->_adapter->deleteAll();
 }