mediawiki-extensions-AbuseF.../tests/phpunit/unit
Daimona Eaytoy 6e9a9a3bc2 CachingParser: ensure to catch errors inside short-circuited blocks
This is similar to the old parser: when discarding a node, actually
evaluate it if short-circuit is not allowed.
Add a whole lot of tests for all possible exceptions.
Move the logic to extract a message from an AFPUserVisibleException away
from the parser, to keep unit tests working.

Bug: T232498
Change-Id: I31ee4e255c6a87dd693b9bcd582539fdf57acd45
2019-09-13 21:13:15 +00:00
..
AbuseFilterParserTest.php CachingParser: ensure to catch errors inside short-circuited blocks 2019-09-13 21:13:15 +00:00
AbuseFilterParserTestCase.php CachingParser: ensure to catch errors inside short-circuited blocks 2019-09-13 21:13:15 +00:00
AbuseFilterTokenizerTest.php Move parser tests back to /unit 2019-09-03 13:23:11 +00:00
AFPDataTest.php CachingParser: ensure to catch errors inside short-circuited blocks 2019-09-13 21:13:15 +00:00