mediawiki-extensions-AbuseF.../tests/parserTests
Anne Haunime 69ea21dc99 Support named capturing groups in get_matches()
AF rules don't support associative arrays, so the named capturing groups are provided in the array only by their numeric keys.

Bug: T374294
Change-Id: I53b39917e6677f3a5b8f68bcf0faebf48668ea27
2024-09-07 11:25:48 +00:00
..
arith.t Restore unit tests for CachingParser and fix it 2019-05-25 10:55:24 +02:00
array-assignment.t Add a new class for the CachingParser's AST 2019-08-25 17:29:16 +00:00
array-comparisons.t Unbreak short circuit for arrays 2018-10-03 16:44:10 +02:00
array-statements.t Rename AbuseFilterCachingParser -> FilterEvaluator 2021-09-08 13:40:47 +02:00
array-statements2.t Rename AbuseFilterCachingParser -> FilterEvaluator 2021-09-08 13:40:47 +02:00
array-statements3.t Rename AbuseFilterCachingParser -> FilterEvaluator 2021-09-08 13:40:47 +02:00
arrays.t
bool-assoc.t
bug25373.t
cast.t Expand the list of types that can be cast to int 2019-11-07 15:14:17 +01:00
comment.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
comparisons.t Use triple equals in abuse filter parser tests 2020-10-06 12:29:47 -04:00
concatenation.t Improve code coverage 2018-08-22 19:07:14 +02:00
conditional-shortcircuit.t Allow if without else 2019-08-20 19:36:14 +00:00
contains-all.t Allow dangling commas in variargs 2019-09-07 11:19:14 +02:00
contains-any.t Allow dangling commas in variargs 2019-09-07 11:19:14 +02:00
contains.t Improve code coverage 2018-08-22 19:07:14 +02:00
containsfunction.t Improve code coverage for AbuseFilterParser 2018-08-20 14:38:40 +02:00
count.t Improve code coverage for AbuseFilterParser 2018-08-20 14:38:40 +02:00
dundefined-parens.t Specialize empty AFPData types 2019-08-04 15:26:57 +00:00
dundefined.t Specialize empty AFPData types 2019-08-04 15:26:57 +00:00
eq.t
equals-to-any.t Strict type comparison 2020-06-27 15:55:57 +01:00
expn.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
float.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
get-matches.t Support named capturing groups in get_matches() 2024-09-07 11:25:48 +00:00
ifthen.t Allow if without else 2019-08-20 19:36:14 +00:00
in.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
ip-in-range.t Add test case for space around - in IP range 2021-01-27 00:43:53 +00:00
ip-in-ranges.t Add ip_in_ranges function 2022-05-11 12:27:16 +08:00
lazyboolinvert.t Improve code coverage for AbuseFilterParser 2018-08-20 14:38:40 +02:00
lazyfunction.t Improve code coverage for AbuseFilterParser 2018-08-20 14:38:40 +02:00
lazykeyword.t Improve code coverage for AbuseFilterParser 2018-08-20 14:38:40 +02:00
lazypow.t Improve code coverage for AbuseFilterParser 2018-08-20 14:38:40 +02:00
lazysum.t Improve code coverage for AbuseFilterParser 2018-08-20 14:38:40 +02:00
lazyunarys.t Improve code coverage for AbuseFilterParser 2018-08-20 14:38:40 +02:00
lcase.t Use triple equals in abuse filter parser tests 2020-10-06 12:29:47 -04:00
length.t
like.t
multipleconditionals.t Add test for multiple conditions inside conditionals 2019-08-12 18:18:05 +02:00
multipleskipbraces.t Improve code coverage for AbuseFilterParser 2018-08-20 14:38:40 +02:00
mwexamples-arithmetic.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
mwexamples-arrays.t Restore unit tests for CachingParser and fix it 2019-05-25 10:55:24 +02:00
mwexamples-bools.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
mwexamples-comparisons.t Use triple equals in abuse filter parser tests 2020-10-06 12:29:47 -04:00
mwexamples-keywords.t Improve code coverage 2018-08-22 19:07:14 +02:00
numbers.t Remove old number syntax 2020-02-25 23:38:19 +00:00
ord.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
prec.t Use triple equals in abuse filter parser tests 2020-10-06 12:29:47 -04:00
rcount.t Use triple equals in abuse filter parser tests 2020-10-06 12:29:47 -04:00
regex.t Tweak coverage part 2 2019-04-13 19:26:01 +02:00
rmdoubles.t Use triple equals in abuse filter parser tests 2020-10-06 12:29:47 -04:00
rmspecials.t Make rmspecials preserve whitespace 2022-02-06 06:07:46 +00:00
rmwhitespace.t Improve code coverage for AbuseFilterParser 2018-08-20 14:38:40 +02:00
sanitize.t Use triple equals in abuse filter parser tests 2020-10-06 12:29:47 -04:00
shortcircuit-and.t Clean AbuseFilterParserTests 2019-03-23 12:59:03 +01:00
shortcircuit-ops.t Clean AbuseFilterParserTests 2019-03-23 12:59:03 +01:00
shortcircuit-or.t Reinforce parser tests 2018-04-09 16:25:54 +02:00
specialratio.t Improve code coverage for AbuseFilterParser 2018-08-20 14:38:40 +02:00
str-replace-regexp.t Add support for regex string replacements. 2022-04-20 18:38:24 +01:00
string.t Tokenizer: don't strip backslashes from \x 2019-11-16 16:21:39 +01:00
strpos.t Avoid passing invalid offset to mb_strpos 2021-07-02 14:07:46 +00:00
substr.t Improve code coverage for AbuseFilterParser 2018-08-20 14:38:40 +02:00
tern.t
ucase.t Use triple equals in abuse filter parser tests 2020-10-06 12:29:47 -04:00
utf8.t
vars.t
whitespace1.t
wptest1.t
wptest2.t Use triple equals in abuse filter parser tests 2020-10-06 12:29:47 -04:00
wptest3.t