addIncompleteTest() public method

Incomplete test.
public addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, float $time )
$test PHPUnit_Framework_Test
$e Exception
$time float
 /**
  * Incomplete test.
  *
  * @param  PHPUnit_Framework_Test $test
  * @param  Exception              $e
  * @param  float                  $time
  */
 public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time)
 {
     $message = 'was incomplete';
     $message = 'skipped';
     $statusMessage = $test->getStatusMessage();
     if (strlen($statusMessage)) {
         $message .= ' (' . $statusMessage . ')';
     }
     $this->write($this->colors ? Stagehand_TestRunner_Coloring::yellow($message) : $message);
     parent::addIncompleteTest($test, $e, $time);
 }
 /**
  * Incomplete test.
  *
  * @param PHPUnit_Framework_Test $test
  * @param Exception $e
  * @param float $time
  */
 public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time)
 {
     parent::addIncompleteTest($test, $e, $time);
     wfDebugLog($this->logChannel, 'Incomplete test ' . $this->getTestName($test) . ': ' . $this->getErrorName($e));
 }
示例#3
0
 /**
  * Incomplete test.
  *
  * @param  PHPUnit_Framework_Test $test
  * @param  Exception              $e
  * @param  float                  $time
  */
 public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time)
 {
     if (!$this->colors) {
         parent::addIncompleteTest($test, $e, $time);
         return;
     }
     $this->writeProgress(Stagehand_TestRunner_Coloring::yellow('I'));
     $this->lastTestFailed = TRUE;
 }
 public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time)
 {
     return parent::addIncompleteTest($test, $e, $time);
 }
 /**
  * {@inheritdoc}
  */
 public function addIncompleteTest(\PHPUnit_Framework_Test $test, \Exception $e, $time)
 {
     if ($this->debug) {
         return parent::addIncompleteTest($test, $e, $time);
     }
     $this->writeProgress('pending');
     $this->lastTestFailed = TRUE;
 }