mediawiki-extensions-AbuseF.../tests/parserTests
Daimona Eaytoy 71f375f19a Add equals_to_any function
Introduce a new function which can be used to group multiple comparisons
in a single condition. In particular, equals_to_any(S, A, B) is the
equivalent of S === A || S === B. This is especially useful in checking
for multiple namespaces, as proposed in the Community health initiative.

Change-Id: I9dcfe303eb5e51e1882fe4a65fa876aa93db7686
2018-04-25 23:12:19 +00:00
..
almost-empty.r Implement a tree-caching abuse filter parser 2016-09-24 02:53:26 +00:00
almost-empty.t Implement a tree-caching abuse filter parser 2016-09-24 02:53:26 +00:00
arith.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
arith.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
arrays.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
arrays.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
bool-assoc.r Fix the associativity of boolean logic operators 2016-11-06 20:30:07 -05:00
bool-assoc.t Fix the associativity of boolean logic operators 2016-11-06 20:30:07 -05:00
bug25373.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
bug25373.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
cast.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
cast.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
ccnorm-contains-all.r Add contains_all and ccnorm_contains_all functions 2018-02-09 17:33:24 +01:00
ccnorm-contains-all.t Add contains_all and ccnorm_contains_all functions 2018-02-09 17:33:24 +01:00
ccnorm-contains-any.r Add ccnorm_contains_any function 2017-10-06 11:32:45 -04:00
ccnorm-contains-any.t Add ccnorm_contains_any function 2017-10-06 11:32:45 -04:00
ccnorm.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
ccnorm.t Update tests for AntiSpoof fixes 2016-08-13 20:37:43 +00:00
comment.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
comment.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
contains-all.r Add contains_all and ccnorm_contains_all functions 2018-02-09 17:33:24 +01:00
contains-all.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
contains-any.r Add ccnorm_contains_any function 2017-10-06 11:32:45 -04:00
contains-any.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
contains.r Reinforce parser tests 2018-04-09 16:25:54 +02:00
contains.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
count.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
count.t Optimize 'count()' function 2016-04-17 08:32:27 +02:00
empty.r Implement a tree-caching abuse filter parser 2016-09-24 02:53:26 +00:00
empty.t Implement a tree-caching abuse filter parser 2016-09-24 02:53:26 +00:00
eq.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
eq.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
equals-to-any.r Add equals_to_any function 2018-04-25 23:12:19 +00:00
equals-to-any.t Add equals_to_any function 2018-04-25 23:12:19 +00:00
expn.r Add test coverage for more bizzare features of the filter parser 2016-08-21 18:45:22 -04:00
expn.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
float.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
float.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
get-matches.r Reinforce parser tests 2018-04-09 16:25:54 +02:00
get-matches.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
ifthen.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
ifthen.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
in.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
in.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
lcase.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
lcase.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
length.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
length.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
like.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
like.t Fix double escaping in AFPData::keywordLike() 2014-07-11 14:56:42 -07:00
list-assignment.r Add test coverage for more bizzare features of the filter parser 2016-08-21 18:45:22 -04:00
list-assignment.t Add test coverage for more bizzare features of the filter parser 2016-08-21 18:45:22 -04:00
list-comparisons.r Allow comparing two lists 2018-04-06 11:44:28 +00:00
list-comparisons.t Allow comparing two lists 2018-04-06 11:44:28 +00:00
mwexamples-arithmetic.r Reinforce parser tests 2018-04-09 16:25:54 +02:00
mwexamples-arithmetic.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
mwexamples-bools.r Reinforce parser tests 2018-04-09 16:25:54 +02:00
mwexamples-bools.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
mwexamples-comparisons.r Reinforce parser tests 2018-04-09 16:25:54 +02:00
mwexamples-comparisons.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
mwexamples-functions.r Reinforce parser tests 2018-04-09 16:25:54 +02:00
mwexamples-functions.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
mwexamples-keywords.r Reinforce parser tests 2018-04-09 16:25:54 +02:00
mwexamples-keywords.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
mwexamples-lists.r Reinforce parser tests 2018-04-09 16:25:54 +02:00
mwexamples-lists.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
norm.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
norm.t Update tests for AntiSpoof fixes 2016-08-13 20:37:43 +00:00
numbers.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
numbers.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
ord.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
ord.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
prec.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
prec.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
regex.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
regex.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
rmdoubles.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
rmdoubles.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
rmspecials.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
rmspecials.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
shortcircuit-and.r Reinforce parser tests 2018-04-09 16:25:54 +02:00
shortcircuit-and.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
shortcircuit-or.r Reinforce parser tests 2018-04-09 16:25:54 +02:00
shortcircuit-or.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
specialratio.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
specialratio.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
string.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
string.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
tern.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
tern.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
ucase.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
ucase.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
utf8.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
utf8.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
vars.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
vars.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
whitespace1.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
whitespace1.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
wptest1.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
wptest1.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
wptest2.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
wptest2.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
wptest3.r Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
wptest3.t Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00