wiki.techinc.nl/tests/parser
Peter Ovchyn 61e0908fa2 languages: Introduce LanguageConverterFactory
Done:
* Replace LanguageConverter::newConverter by LanguageConverterFactory::getLanguageConverter
* Remove LanguageConverter::newConverter from all subclasses
* Add LanguageConverterFactory integration tests which covers all languages by their code.
* Caching of LanguageConverters in factory
* Make all tests running (hope that's would be enough)
* Uncomment  the deprecated functions.
* Rename FakeConverter to TrivialLanguageConverter
* Create ILanguageConverter to have shared ancestor
* Make the LanguageConverter class abstract.
* Create table with mapping between lang code and converter instead of using name convention
* ILanguageConverter @internal
* Clean up code

Change-Id: I0e4d77de0f44e18c19956a1ffd69d30e63cf51bf
Bug: T226833, T243332
2020-02-03 11:38:03 +02:00
..
preprocess Use singular they to refer to IP address 2018-12-13 17:41:36 +01:00
DbTestPreviewer.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
DbTestRecorder.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
DjVuSupport.php PHP: Use short ternary operator (?:) where possible 2018-06-11 11:26:35 +02:00
editTests.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
extraParserTests.txt extraParserTests.txt: Fix typo 2018-10-19 22:22:37 +02:00
fuzzTest.php Parser fuzzTest: Stop trying to call hphpd_break, we don't run on HHVM any more 2019-10-11 17:15:44 +00:00
MultiTestRecorder.php
ParserTestMockParser.php Improve test coverage for ApiStashEdit 2018-08-21 15:32:29 -07:00
ParserTestParserHook.php tests: Don't expect the Parser to be passed by ref 2019-11-18 17:43:35 +01:00
ParserTestPrinter.php Add parserTests file line number to failing tests output 2020-01-29 00:17:36 +00:00
ParserTestResult.php
ParserTestResultNormalizer.php Remove references to Html5Depurate 2019-03-13 16:33:37 -05:00
ParserTestRunner.php languages: Introduce LanguageConverterFactory 2020-02-03 11:38:03 +02:00
parserTests.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
parserTests.txt Sync up with Parsoid parserTests.txt 2020-01-28 17:35:39 -05:00
PhpunitTestRecorder.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
README
TestFileEditor.php Parser: remove leftover "transparent hook" code 2020-01-28 20:10:20 -05:00
TestFileReader.php Parser: remove leftover "transparent hook" code 2020-01-28 20:10:20 -05:00
TestRecorder.php Add missing @param and @return to documentation 2019-11-16 13:45:55 +01:00

Parser tests can be run either via PHPUnit or by using the standalone
parserTests.php in this directory. The standalone version provides more
options.

To run parser tests via PHPUnit:

 $ cd tests/phpunit
 ./phpunit.php --testsuite parsertests

You can optionally filter by title using --filter, e.g.

 ./phpunit.php --testsuite parsertests --filter="T6400"