Page MenuHomePhabricator

D11208.diff
No OneTemporary

D11208.diff

diff --git a/src/unit/ArcanistUnitTestResult.php b/src/unit/ArcanistUnitTestResult.php
--- a/src/unit/ArcanistUnitTestResult.php
+++ b/src/unit/ArcanistUnitTestResult.php
@@ -122,6 +122,7 @@
public function toDictionary() {
return array(
+ 'namespace' => $this->getNamespace(),
'name' => $this->getName(),
'link' => $this->getLink(),
'result' => $this->getResult(),
diff --git a/src/workflow/ArcanistDiffWorkflow.php b/src/workflow/ArcanistDiffWorkflow.php
--- a/src/workflow/ArcanistDiffWorkflow.php
+++ b/src/workflow/ArcanistDiffWorkflow.php
@@ -1333,14 +1333,7 @@
$this->testResults = array();
foreach ($unit_workflow->getTestResults() as $test) {
- $this->testResults[] = array(
- 'name' => $test->getName(),
- 'link' => $test->getLink(),
- 'result' => $test->getResult(),
- 'userdata' => $test->getUserData(),
- 'coverage' => $test->getCoverage(),
- 'extra' => $test->getExtraData(),
- );
+ $this->testResults[] = $test->toDictionary();
}
return $unit_result;

File Metadata

Mime Type
text/plain
Expires
Mon, Jun 3, 9:38 AM (3 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6298666
Default Alt Text
D11208.diff (1 KB)

Event Timeline