EclipseReporter::paintFail PHP Method

paintFail() public method

Stash the first failing item. Clicking the test item goes to first fail.
public paintFail ( string $message )
$message string Test message, but we only wnat the first.
    public function paintFail($message)
    {
        //only get the first failure or error
        if (!$this->fail && !$this->error) {
            $this->fail = true;
            $this->message = self::escapeVal($message);
            $this->listener->write('{status:"fail",message:"' . $this->message . '",group:"' . $this->group . '",case:"' . $this->case . '",method:"' . $this->method . '"}');
        }
    }