PHPUnit_TextUI_ResultPrinter::addIncompleteTest PHP Method

addIncompleteTest() public method

Incomplete test.
public addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, float $time )
$test PHPUnit_Framework_Test
$e Exception
$time float
    public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time)
    {
        $this->writeProgressWithColor('fg-yellow, bold', 'I');
        $this->lastTestFailed = true;
    }

Usage Example

 /**
  * 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);
 }
All Usage Examples Of PHPUnit_TextUI_ResultPrinter::addIncompleteTest