]> khamidou — GitHub mirrors - arcanist.git/commit
Make test result parsing stricter about duration formats
authorepriestley <git@epriestley.com>
Wed, 15 Jul 2015 20:26:15 +0000 (13:26 -0700)
committerepriestley <git@epriestley.com>
Wed, 15 Jul 2015 20:26:15 +0000 (13:26 -0700)
commit5e578fb847b3810270a4bc480f5e6a15b5078a8c
tree1b8e0be5f3c9cff38c3db071e5b9390ee4652dbf
parent407954dddd32a24c469c9c5cbc5cd6134e893c1b
Make test result parsing stricter about duration formats

Summary: Fixes T8805. Explicitly require int/float for duration. Adjust XUnit/Go parsers to provide one.

Test Plan: Ran unit tests.

Reviewers: btrahan, joshuaspence, chad

Reviewed By: chad

Subscribers: jsotuyod, champo, epriestley

Maniphest Tasks: T8805

Differential Revision: https://secure.phabricator.com/D13637
src/unit/ArcanistUnitTestResult.php
src/unit/parser/ArcanistGoTestResultParser.php
src/unit/parser/ArcanistXUnitTestResultParser.php