addIncompleteTest() public method

Incomplete test.
public addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, float $time )
$test PHPUnit_Framework_Test
$e Exception
$time float
コード例 #1
0
 /**
  * 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);
 }
コード例 #2
0
 /**
  * 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
ファイル: ProgressPrinter.php プロジェクト: rsky/makegood
 /**
  * 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;
 }
コード例 #4
0
 public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time)
 {
     return parent::addIncompleteTest($test, $e, $time);
 }
コード例 #5
0
 /**
  * {@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;
 }