wiki.techinc.nl/tests/phpunit/includes/parser
Antoine Musso 35f802edd9 test: rework interwiki lookup in parser tests
Some of our parser tests lookup interwikis.  This was originally done
(parser/parserTest.inc) by inserting a set of interwikis in the database
and was later lamely copy pasted in the PHPUnit wrapped test suite
(phpunit/includes/parser/NewParserTest.php).

Since that time, we had duplicate code and had the test hitting the
database to fetch interwiki.  Nowadays, we can trick the Interwiki
lookup class by using the InterwikiLoadPrefix hook, that let us skip
database lookup entirely (by having the hook returning false) and get
rid of the duplicate code.

The good old parserTests.php still pass the tests :-]

Change-Id: I36865e3890e08a05b8a6aaafa309a87556e235b9
2013-06-17 20:58:42 +00:00
..
MagicVariableTest.php Revert "Misc follow-ups to I2fc3966e (a161c5e)" 2013-03-22 21:24:58 +00:00
MediaWikiParserTest.php phpcs: More require/include is not a function 2013-05-21 23:26:28 +02:00
NewParserTest.php test: rework interwiki lookup in parser tests 2013-06-17 20:58:42 +00:00
ParserMethodsTest.php Update code formatting 2013-04-26 14:21:20 +00:00
ParserOutputTest.php Better way for extensions to add to ParserOutput. 2013-01-30 12:45:47 +01:00
ParserPreloadTest.php Update code formatting 2013-04-26 14:21:20 +00:00
PreprocessorTest.php Tests: Make phpunit providers "public static". 2013-03-22 03:12:37 +01:00
TagHooksTest.php Revert "Misc follow-ups to I2fc3966e (a161c5e)" 2013-03-22 21:24:58 +00:00