wiki.techinc.nl/tests/phpunit/includes/diff
Tim Starling 2e4880e52a DifferenceEngineTest: improve data providers
* Have data providers return plain data instead of objects.
* Use addDBDataOnce() instead of a DIY equivalent.
* Use a data provider instead of a loop in testMapDiffPrevNext and
  testLoadRevisionData. Resolve the problem of the provided data
  depending on auto-increment IDs from addDBDataOnce by using special
  strings that are replaced with IDs in the test case.

Bug: T332865
Change-Id: Ie41f3222aa1b48c69dbfe4cd7f6ef84e394e31fa
2023-06-22 11:49:49 +10:00
..
CustomDifferenceEngine.php Refactor calls to deprecated function Content::getNativeData() 2019-02-15 17:48:01 +00:00
DifferenceEngineSlotDiffRendererTest.php phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
DifferenceEngineTest.php DifferenceEngineTest: improve data providers 2023-06-22 11:49:49 +10:00
SlotDiffRendererTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
TextSlotDiffRendererTest.php build: Updating mediawiki/mediawiki-codesniffer to 41.0.0 2023-03-11 19:04:09 +00:00