wiki.techinc.nl/tests/phpunit/includes/parser
Peter Ovchyn 50e3bd4fac parser: Inject a LanguageConverterFactory through DI containers:
1. into class Parser
2. into class LinkHoderArray
3. into class DefaultPreferencesFactory

Add more tests for DefaultPreferencesFactory:
1. testVariantsSupport verifies that converter with variants is used correctly.
2. Test testUserGroupMemberships verifies that membership is used correctly

Bug: T243320, T243321, T243317
Change-Id: I1e5c37e18332d0d32391c74c06e3d84862e48df8
2020-02-04 14:42:03 +02:00
..
CoreParserFunctionsTest.php Replace some oldskool @see with @inheritDoc 2019-11-08 18:00:27 +00:00
MagicVariableTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ParserMethodsTest.php Fixes for PHPUnit 8 compat in DB suite 2019-12-15 00:27:54 +00:00
ParserOptionsTest.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
ParserOutputTest.php Replace complicated assertions with assertIsString() and such 2020-01-28 19:17:58 +00:00
ParserPreloadTest.php Remove Preprocessor_DOM, deprecated in 1.34 2020-01-25 11:22:45 -05:00
ParserTest.php Manual fix of the remaining assertInternalType & Co. 2019-12-15 00:20:10 +00:00
PreprocessorTest.php Remove Preprocessor_DOM, deprecated in 1.34 2020-01-25 11:22:45 -05:00
SanitizerTest.php Whitelist aria-hidden attribute in Sanitizer 2020-01-28 21:54:16 +00:00
StripStateTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
TagHooksTest.php Hard deprecate Parser::setFunctionTagHook() 2020-01-28 16:20:40 -08:00