public function setup() { $ret = $this->_runner->getEnvironment()->invoke('IntegrationTest::setup', array($this->_integid, $this)); if (!$ret) { return $this->_runner->error('failed to do initial setting up of environment for integration'); } elseif (!$this->_initDirectories()) { return $this->_runner->error('failed to initialize integration directories'); } elseif (!$this->_clearDirectoriesContent()) { return $this->_runner->error('failed to clear integration directories content'); } else { return true; } }
protected function _setup() { is_null($this->_runner->getEnvironment()->getHelper('cache')) || $this->_runner->getEnvironment()->getHelper('cache')->clear_noApache(); is_null($this->_runner->getEnvironment()->getHelper('config')) || $this->_runner->getEnvironment()->getHelper('config')->remove(); }