Ejemplo n.º 1
0
 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;
     }
 }
Ejemplo n.º 2
0
 public function error($msg)
 {
     return $this->_runner->error($msg);
 }