]> khamidou — GitHub mirrors - arcanist.git/commit
[ArcanistPhutilTestCase] add ->assertException() to the base test case
authorEdward Speyer <edward@fb.com>
Thu, 8 Mar 2012 22:54:49 +0000 (14:54 -0800)
committerEdward Speyer <edward@fb.com>
Thu, 8 Mar 2012 23:14:30 +0000 (15:14 -0800)
commitbdfc021d391beb13d7e6c58be2302b360dc255b8
tree421f5601f25f01f34c939b1310ae08deab16a2cc
parent8088b4cdacf1691f8760470b4cb6caea6accf649
[ArcanistPhutilTestCase] add ->assertException() to the base test case

Summary: Simpler assert function for asserting a type of exception was raised.

Test Plan: Wrote this for (and tested it with) D1836.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley
Differential Revision: https://secure.phabricator.com/D1837
src/unit/engine/phutil/testcase/ArcanistPhutilTestCase.php