mediawiki-extensions-Cite/tests/phpunit
Thiemo Kreuz 3f2aeb7e31 Rename two Cite… classes and clean up test setups
* All classes are in a Cite\ namespace now. No need to repeat the word
"Cite" all over the place.

* The "key formatter" is more an ID or anchor formatter. The strings it
returns are all used in id="…" attributes, as well as in href="#…" links
to jump to these IDs.

* This patch also removes quite a bunch of callbacks from tests that
don't need to be callbacks.

* I'm also replacing all json_encode().

* To make the test code more readable, I shorten a bunch of variable
names to e.g. $msg. The fact they are mocks is still relevant, and still
visible because these variable names are only used in very short scopes.

Change-Id: I2bd7c731efd815bcdc5d33bccb0c8e280d55bd06
2019-12-12 08:48:02 +01:00
..
unit Rename two Cite… classes and clean up test setups 2019-12-12 08:48:02 +01:00
CiteCSSFileModuleTest.php Move all code to PSR-4 compatible namespaces 2019-11-20 17:00:13 +01:00
CiteDbTest.php Minor improvements to the test coverage 2019-12-11 12:22:59 +01:00
CiteHooksTest.php Remove ApiQueryReferences support 2019-11-28 11:08:46 +01:00
CiteIntegrationTest.php Rename two Cite… classes and clean up test setups 2019-12-12 08:48:02 +01:00
ReferenceMessageLocalizerTest.php Introduce ReferenceMessageLocalizer 2019-12-04 13:40:05 +01:00