wiki.techinc.nl/tests/phpunit/includes/parser
Daimona Eaytoy 535d7abf59 phpunit: Mass-replace setMethods with onlyMethods and adjust
Ended up using
  grep -Prl '\->setMethods\(' . | xargs sed -r -i 's/setMethods\(/onlyMethods\(/g'

special-casing setMethods( null ) -> onlyMethods( [] )

and then manual fix of failing test (from PS2 onwards).

Bug: T278010
Change-Id: I012dca7ae774bb430c1c44d50991ba0b633353f1
2021-04-16 20:15:00 +02:00
..
CacheTimeTest.php tests: Fix method signature mismatches 2020-11-26 19:02:57 +01:00
CoreParserFunctionsTest.php CoreParserFunctionsTest: fix duplication 2021-03-22 01:48:03 +00:00
LinkHolderArrayIntegrationTest.php Strict return types for PageIdentity 2021-01-18 17:33:14 +01:00
MagicVariableTest.php Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
ParserCacheSerializationTestCases.php Fix spacing after yield and use statements 2021-03-26 23:55:58 +01:00
ParserCacheTest.php ParserCache: only use in-process caching for metadata 2021-04-06 17:53:38 -06:00
ParserMethodsTest.php Remove $actor field from UsererIdentityValue 2021-04-13 18:18:06 +00:00
ParserOptionsTest.php phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
ParserOutputTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
ParserPreloadTest.php ParserPreloadTest: Remove unneeded unset calls 2020-12-28 22:10:53 +00:00
ParserTest.php phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
PreprocessorTest.php tests: Avoid problematic language in comments and internal code 2021-03-28 21:21:28 -07:00
RevisionOutputCacheTest.php Convert ParserCache to PageRecord 2021-04-02 21:14:54 -06:00
SanitizerTest.php Remove documentation that literally repeats the code 2020-10-27 19:20:26 +00:00
StripStateTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
TagHooksTest.php Parser: initialize preprocessor in constructor 2021-03-16 22:37:40 +00:00
validateParserCacheSerializationTestData.php Tests: Mark more closures as static 2021-02-07 13:26:56 +01:00