]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Report unit test details from Arcanist to Harbormaster
authorepriestley <git@epriestley.com>
Mon, 29 Feb 2016 16:02:37 +0000 (08:02 -0800)
committerepriestley <git@epriestley.com>
Fri, 4 Mar 2016 23:49:46 +0000 (15:49 -0800)
Summary: Ref T10457. Provides information for D15363.

Test Plan: See D15363.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9951, T10457

Differential Revision: https://secure.phabricator.com/D15364

src/workflow/ArcanistWorkflow.php

index ad57c8439220ff5c3cfeb4cc83bb25a6b46927f7..f30fdc47deec38bd1effcdbc988f7a427122b49d 100644 (file)
@@ -2036,6 +2036,13 @@ abstract class ArcanistWorkflow extends Phobject {
 
   protected function getModernUnitDictionary(array $map) {
     $map = $this->getModernCommonDictionary($map);
+
+    $details = idx($map, 'userData');
+    if (strlen($details)) {
+      $map['details'] = (string)$details;
+    }
+    unset($map['userData']);
+
     return $map;
   }