]> khamidou — GitHub mirrors - arcanist.git/commit
Allow tests to be skipped
authorEdward Speyer <edward@fb.com>
Wed, 25 Apr 2012 02:16:45 +0000 (19:16 -0700)
committerEdward Speyer <edward@fb.com>
Wed, 25 Apr 2012 04:45:22 +0000 (21:45 -0700)
commit946a9e44a3338d2ca376d54d567254f94a7c9d5c
tree7acc949d240448f104f2b1327fbb015449f36aed
parentcc1e4d467600c5ad6de6fb25e5db8b424dd401e2
Allow tests to be skipped

Summary:
Allow tests to be skipped by calling assertSkipped().  It's not really
an assertion of anything tangible; more like "assert that we can't
really assert anything right now".

Test Plan: Added a new test to the PhutilUnitTestEngineTestCase.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Koolvin
Differential Revision: https://secure.phabricator.com/D2312
src/__phutil_library_map__.php
src/unit/engine/phutil/__tests__/PhutilUnitTestEngineTestCase.php
src/unit/engine/phutil/testcase/ArcanistPhutilTestCase.php
src/unit/engine/phutil/testcase/exception/ArcanistPhutilTestSkippedException.php [new file with mode: 0644]
src/unit/engine/phutil/testcase/exception/__init__.php