string $status:
float $time:
array $trace:
string $message:
protected function writeCase($status, $time, array $trace = array(), $message = '', $test = NULL) {
$output = '';
if ($test !== NULL && $test
->hasOutput()) {
$output = $test
->getActualOutput();
}
$this
->write(array(
'event' => 'test',
'suite' => $this->currentTestSuiteName,
'test' => $this->currentTestName,
'status' => $status,
'time' => $time,
'trace' => $trace,
'message' => PHPUnit_Util_String::convertToUtf8($message),
'output' => $output,
));
}