diff --git a/src/unit/ArcanistUnitTestResult.php b/src/unit/ArcanistUnitTestResult.php index 021e2264..a30789c2 100644 --- a/src/unit/ArcanistUnitTestResult.php +++ b/src/unit/ArcanistUnitTestResult.php @@ -32,6 +32,7 @@ final class ArcanistUnitTestResult { private $namespace; private $name; + private $link; private $result; private $duration; private $userData; @@ -47,6 +48,15 @@ final class ArcanistUnitTestResult { return $this->name; } + public function setLink($link) { + $this->link = $link; + return $this; + } + + public function getLink() { + return $this->link; + } + public function setResult($result) { $this->result = $result; return $this; diff --git a/src/workflow/ArcanistDiffWorkflow.php b/src/workflow/ArcanistDiffWorkflow.php index 6d78f4c9..1c2a8055 100644 --- a/src/workflow/ArcanistDiffWorkflow.php +++ b/src/workflow/ArcanistDiffWorkflow.php @@ -1324,6 +1324,7 @@ EOTEXT foreach ($unit_workflow->getTestResults() as $test) { $this->testResults[] = array( 'name' => $test->getName(), + 'link' => $test->getLink(), 'result' => $test->getResult(), 'userdata' => $test->getUserData(), 'coverage' => $test->getCoverage(),