1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-09-20 00:49:11 +02:00

[Adding postpone status for unittests]

Summary:
That's for the tests that will be run asynchronously.

Test Plan:
run arc unit with some tests that returned postponed status - they showed up.
Background was yellow.

Reviewed By: epriestley
CC: epriestley
Revert Plan:
sure

Other Notes:

Differential Revision: 77
This commit is contained in:
slawekbiel 2011-03-21 17:29:12 -07:00 committed by Slawek Biel
parent 51b371481b
commit aa44db2f96
2 changed files with 3 additions and 0 deletions

View file

@ -28,6 +28,7 @@ class ArcanistUnitTestResult {
const RESULT_SKIP = 'skip'; const RESULT_SKIP = 'skip';
const RESULT_BROKEN = 'broken'; const RESULT_BROKEN = 'broken';
const RESULT_UNSOUND = 'unsound'; const RESULT_UNSOUND = 'unsound';
const RESULT_POSTPONED = 'postponed';
private $namespace; private $namespace;
private $name; private $name;

View file

@ -110,6 +110,8 @@ EOTEXT
' <bg:red>** BROKEN **</bg>'), ' <bg:red>** BROKEN **</bg>'),
ArcanistUnitTestResult::RESULT_UNSOUND => phutil_console_format( ArcanistUnitTestResult::RESULT_UNSOUND => phutil_console_format(
' <bg:yellow>** UNSOUND **</bg>'), ' <bg:yellow>** UNSOUND **</bg>'),
ArcanistUnitTestResult::RESULT_POSTPONED => phutil_console_format(
' <bg:yellow>** POSTPONED **</bg>'),
); );
$unresolved = array(); $unresolved = array();