Esempio n. 1
0
 /**
  * Test getting the result
  */
 public function testGet()
 {
     $this->assertEquals('', $this->_object->get());
 }
Esempio n. 2
0
 /**
  * Lint the changed files
  *
  * @param  \Testy\Project\Test\Runner $oRunner
  *
  * @return boolean
  */
 public function lint(\Testy\Project\Test\Runner $oRunner)
 {
     $bReturn = true;
     try {
         $oRunner->setCommand($this->_oConfig->syntax)->run();
     } catch (\Testy\Project\Test\Exception $oException) {
         $bReturn = false;
         $this->notify(\notifyy\Notifyable::FAILED, self::LINT_ERROR);
     }
     return $bReturn;
 }