Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15412432
D11208.id26881.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11208.id26881.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 12:58 PM (1 d, 18 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7603875
Default Alt Text
D11208.id26881.diff (1 KB)
Attached To
Mode
D11208: Export namespace in `ArcanistUnitTestResult` dictionary
Attached
Detach File
Event Timeline
Log In to Comment