mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-25 06:26:03 +00:00
d51ca862c6
IMHO these can be considered unit tests; they were already fast, but now they're executed in an instant. This requires several changes: 1 - delay retrieving messages in AFPUserVisibleException, to avoid having to deal with i18n whenever we want to test exceptions; 2 - Use some DI for Parser and Tokenizer. Equivset-dependend tests are also moved to a new class, thus helping to fix the AF part of T189560. Change-Id: If4585bf9bb696857005cf40a0d6985c36ac7e7a8 |
||
---|---|---|
.. | ||
AbuseFilterCachingParser.php | ||
AbuseFilterParser.php | ||
AbuseFilterTokenizer.php | ||
AFPData.php | ||
AFPException.php | ||
AFPParserState.php | ||
AFPSyntaxTree.php | ||
AFPToken.php | ||
AFPTreeNode.php | ||
AFPTreeParser.php | ||
AFPUserVisibleException.php |