wiki.techinc.nl/tests/phpunit/includes/parser
Petr Pchelko 79475042a5 ParserOptions: support setting a default for lazy options
If the default is not set for a lazy loaded option,
canonical parser output key ends up being 'lazy_option=default',
because when computing the keys we exclude defaults.

If on the other hand we register a default for a lazy option,
it does not get loaded, since in lazyLoadOption we believe
the default is already the loaded value.

Change-Id: I92b3e18fabef4eecac2ec2a4844f1be2716e5d89
Needed-By: I3bce04684070ad306685dabbc51267def25773cd
2021-08-10 10:22:05 -07:00
..
CacheTimeTest.php Tests: remove unneeded tearDown functions 2021-07-27 13:15:40 +00:00
CoreParserFunctionsTest.php CoreParserFunctionsTest: fix duplication 2021-03-22 01:48:03 +00:00
LinkHolderArrayIntegrationTest.php Strict return types for PageIdentity 2021-01-18 17:33:14 +01:00
MagicVariableTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
ParserCacheSerializationTestCases.php Fix spacing after yield and use statements 2021-03-26 23:55:58 +01:00
ParserCacheTest.php Remove depecated ParserCache::getKey and ::getEtag 2021-07-27 14:47:49 -07:00
ParserMethodsTest.php Tests: use UserIdentityValue instead of mock User objects 2021-05-03 15:41:48 +00:00
ParserOptionsTest.php ParserOptions: support setting a default for lazy options 2021-08-10 10:22:05 -07:00
ParserOutputTest.php Tests: remove unneeded tearDown functions 2021-07-27 13:15:40 +00:00
ParserPreloadTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
ParserTest.php parser: Replace deprecated MWHttpRequest::factory 2021-08-04 13:22:50 +00:00
PreprocessorTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
RevisionOutputCacheTest.php Tests: remove unneeded tearDown functions 2021-07-27 13:15:40 +00:00
SanitizerTest.php Remove documentation that literally repeats the code 2020-10-27 19:20:26 +00:00
StripStateTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
TagHooksTest.php Parser: initialize preprocessor in constructor 2021-03-16 22:37:40 +00:00
validateParserCacheSerializationTestData.php Tests: Mark more closures as static 2021-02-07 13:26:56 +01:00