MediaWiki REL1_31
|
Static Public Member Functions | |
static | provideMakeLoad () |
Static Protected Member Functions | |
static | expandVariables ( $text) |
static | makeContext ( $extraQuery=[]) |
static | makeModule (array $options=[]) |
static | makeSampleModules () |
Definition at line 8 of file ResourceLoaderClientHtmlTest.php.
|
staticprotected |
Definition at line 12 of file ResourceLoaderClientHtmlTest.php.
References ResourceLoaderTestCase\BLANK_VERSION.
Referenced by testGetBodyHtml(), testGetHeadHtml(), and testMakeLoad().
|
staticprotected |
Definition at line 18 of file ResourceLoaderClientHtmlTest.php.
Referenced by testGetBodyHtml(), testGetData(), testGetHeadHtml(), and testMakeLoad().
|
staticprotected |
Definition at line 38 of file ResourceLoaderClientHtmlTest.php.
References $options.
Referenced by makeSampleModules().
|
staticprotected |
Definition at line 42 of file ResourceLoaderClientHtmlTest.php.
References $modules, $options, false, ResourceLoaderModule\LOAD_STYLES, makeModule(), and true.
|
static |
Definition at line 282 of file ResourceLoaderClientHtmlTest.php.
References false, true, ResourceLoaderModule\TYPE_COMBINED, ResourceLoaderModule\TYPE_SCRIPTS, and ResourceLoaderModule\TYPE_STYLES.
ResourceLoaderClientHtmlTest::testGetBodyHtml | ( | ) |
ResourceLoaderClientHtml::getBodyHtml ResourceLoaderClientHtml::getLoad.
Definition at line 262 of file ResourceLoaderClientHtmlTest.php.
References $context, expandVariables(), and makeContext().
ResourceLoaderClientHtmlTest::testGetData | ( | ) |
ResourceLoaderClientHtml::__construct ResourceLoaderClientHtml::setModules ResourceLoaderClientHtml::setModuleStyles ResourceLoaderClientHtml::setModuleScripts ResourceLoaderClientHtml::getData ResourceLoaderClientHtml::getContext.
Definition at line 108 of file ResourceLoaderClientHtmlTest.php.
References $context, and makeContext().
ResourceLoaderClientHtmlTest::testGetDocumentAttributes | ( | ) |
ResourceLoaderClientHtml::getDocumentAttributes.
Definition at line 95 of file ResourceLoaderClientHtmlTest.php.
ResourceLoaderClientHtmlTest::testGetHeadHtml | ( | ) |
ResourceLoaderClientHtml::setConfig ResourceLoaderClientHtml::setExemptStates ResourceLoaderClientHtml::getHeadHtml ResourceLoaderClientHtml::getLoad ResourceLoader::makeLoaderStateScript.
Definition at line 181 of file ResourceLoaderClientHtmlTest.php.
References $context, expandVariables(), and makeContext().
ResourceLoaderClientHtmlTest::testGetHeadHtmlWithNullTarget | ( | ) |
Confirm that a null 'target' is the same as no target.
ResourceLoaderClientHtml::getHeadHtml
Definition at line 244 of file ResourceLoaderClientHtmlTest.php.
ResourceLoaderClientHtmlTest::testGetHeadHtmlWithTarget | ( | ) |
Confirm that 'target' is passed down to the startup module's load url.
ResourceLoaderClientHtml::getHeadHtml
Definition at line 225 of file ResourceLoaderClientHtmlTest.php.
ResourceLoaderClientHtmlTest::testMakeLoad | ( | array | $extraQuery, |
array | $modules, | ||
$type, | |||
$expected ) |
provideMakeLoad ResourceLoaderClientHtml::makeLoad ResourceLoaderClientHtml::makeContext ResourceLoader::makeModuleResponse ResourceLoaderModule::getModuleContent ResourceLoader::getCombinedVersion ResourceLoader::createLoaderURL ResourceLoader::createLoaderQuery ResourceLoader::makeLoaderQuery ResourceLoader::makeInlineScript
Definition at line 398 of file ResourceLoaderClientHtmlTest.php.
References $context, $modules, $type, expandVariables(), makeContext(), and ResourceLoaderClientHtml\makeLoad().