wiki.techinc.nl/tests/phpunit/includes/content
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
..
ContentHandlerTest.php phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
ContentModelChangeTest.php phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
CssContentHandlerTest.php Recognize CSS/JS redirects with non-ASCII targets 2018-10-31 23:09:50 -07:00
CssContentTest.php Decouple CssContentTest and JavaScriptContentTest 2021-03-09 18:10:45 +00:00
FallbackContentHandlerTest.php Split FallbackContentHandlerTest into separate unit tests 2021-03-30 14:23:00 +00:00
FallbackContentTest.php Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
JavaScriptContentHandlerTest.php Recognize CSS/JS redirects with non-ASCII targets 2018-10-31 23:09:50 -07:00
JavaScriptContentTest.php Let Html::element do the HTML encoding 2019-11-19 06:59:55 +01:00
JsonContentTest.php Split JsonContentTest into separate unit tests 2021-03-16 00:29:32 +00:00
MessageContentTest.php Add some missing @covers tags 2019-02-02 21:53:40 -08:00
RegistrationContentHandlerFactoryToMediaWikiServicesTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
TextContentTest.php Make WikiPage a (non-proper) PageIdentity 2021-02-10 11:24:05 +01:00
WikitextContentHandlerTest.php phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
WikitextContentTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
WikitextStructureTest.php WikitextStructureTest: combine single use methods 2021-02-27 00:48:21 +00:00