Summary: D7952 added namespaces to `ArcanistUnitTestResult` but these are not exported and thus don't get sent from client to server.
Test Plan: Uploaded a diff and inspected the contents of the `phabricator_differential.differential_diffproperty` table.
Reviewers: epriestley, #blessed_reviewers
Reviewed By: epriestley, #blessed_reviewers
Subscribers: Korvin, epriestley
Differential Revision: https://secure.phabricator.com/D11208
public function toDictionary() {
return array(
+ 'namespace' => $this->getNamespace(),
'name' => $this->getName(),
'link' => $this->getLink(),
'result' => $this->getResult(),
$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;