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