From: slawekbiel Date: Tue, 22 Mar 2011 00:29:12 +0000 (-0700) Subject: [Adding postpone status for unittests] X-Git-Tag: conduit-4~366 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=aa44db2f968d6357aedef9c811d080ea67f93180;p=arcanist.git [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 --- diff --git a/src/unit/result/ArcanistUnitTestResult.php b/src/unit/result/ArcanistUnitTestResult.php index 001ad584..426f44aa 100644 --- a/src/unit/result/ArcanistUnitTestResult.php +++ b/src/unit/result/ArcanistUnitTestResult.php @@ -28,6 +28,7 @@ class ArcanistUnitTestResult { const RESULT_SKIP = 'skip'; const RESULT_BROKEN = 'broken'; const RESULT_UNSOUND = 'unsound'; + const RESULT_POSTPONED = 'postponed'; private $namespace; private $name; diff --git a/src/workflow/unit/ArcanistUnitWorkflow.php b/src/workflow/unit/ArcanistUnitWorkflow.php index 307bc0ea..567a7369 100644 --- a/src/workflow/unit/ArcanistUnitWorkflow.php +++ b/src/workflow/unit/ArcanistUnitWorkflow.php @@ -110,6 +110,8 @@ EOTEXT ' ** BROKEN **'), ArcanistUnitTestResult::RESULT_UNSOUND => phutil_console_format( ' ** UNSOUND **'), + ArcanistUnitTestResult::RESULT_POSTPONED => phutil_console_format( + ' ** POSTPONED **'), ); $unresolved = array();