public renderProgressMark ( boolean $result ) : string | ||
$result | boolean | Whether unit tests passed (bad) or not (good) |
return | string |
public function renderProgressMark($result)
{
if ($result === 'timed out') {
return 'T';
} elseif ($result) {
return 'E';
} else {
return '.';
}
}