SimpleReporterDecorator::paintFail PHP Method

paintFail() public method

Chains to the wrapped reporter.
public paintFail ( string $message )
$message string Message is ignored.
    public function paintFail($message)
    {
        $this->reporter->paintFail($message);
    }

Usage Example

示例#1
0
文件: recorder.php 项目: rpshaw/CDash
 /**
  *    Stashes the fail as a SimpleResultOfFail
  *    for later retrieval.
  *    @param string $message    Failure message to be displayed
  *                              eventually.
  */
 function paintFail($message)
 {
     parent::paintFail($message);
     $this->results[] = new SimpleResultOfFail(parent::getTestList(), $message);
 }