public function renderUnitResult(ArcanistUnitTestResult $result)
 {
     $result_code = $result->getResult();
     $duration = '';
     if ($result_code == ArcanistUnitTestResult::RESULT_PASS) {
         $duration = ' ' . $this->formatTestDuration($result->getDuration());
     }
     $return = sprintf("  %s %s\n", $this->getFormattedResult($result->getResult()) . $duration, $result->getName());
     if ($result_code != ArcanistUnitTestResult::RESULT_PASS) {
         $return .= $result->getUserData() . "\n";
     }
     return $return;
 }