1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42:41 +01:00
phorge-phorge/src/applications/policy
Joshua Spence e11adc4ad7 Added some additional assertion methods.
Summary:
There are quite a few tests in Arcanist, libphutil and Phabricator that do something similar to `$this->assertEqual(false, ...)` or `$this->assertEqual(true, ...)`.

This is unnecessarily verbose and it would be cleaner if we had `assertFalse` and `assertTrue` methods.

Test Plan: I contemplated adding a unit test for the `getCallerInfo` method but wasn't sure if it was required / where it should live.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Differential Revision: https://secure.phabricator.com/D8460
2014-03-08 19:16:21 -08:00
..
__tests__ Added some additional assertion methods. 2014-03-08 19:16:21 -08:00
application Various linter fixes. 2014-02-26 12:44:58 -08:00
capability Various linter fixes. 2014-02-26 12:44:58 -08:00
config Move policy config to "Policy" app and make policy.allow-public description scarier 2013-09-27 10:50:19 -07:00
constants Passphrase v0 2013-11-20 09:13:35 -08:00
controller Harbormaster v(-2) 2013-10-22 15:01:06 -07:00
exception Allow applications to define new policy capabilities 2013-10-07 13:28:58 -07:00
filter Make the "you can't edit away your edit capability" policy check generic 2014-02-10 14:31:16 -08:00
interface Work around a bug in PHP 5.3-ish with abstract methods in interfaces 2013-10-25 15:58:17 -07:00
management Extend all "ManagementWorkflow" classes from a base class 2013-12-27 13:15:40 -08:00
phid Remove many redundant implementations of canLoadNamedObject() 2013-12-18 12:00:01 -08:00
query Various linter fixes. 2014-02-26 12:44:58 -08:00
rule Legalpad - add policy rule for legalpad document signatures 2014-01-15 16:48:44 -08:00
storage Passphrase v0 2013-11-20 09:13:35 -08:00