MediaWiki REL1_32
|
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 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 327 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 302 of file ResourceLoaderClientHtmlTest.php.
References $context, and makeContext().
ResourceLoaderClientHtmlTest::testGetData | ( | ) |
ResourceLoaderClientHtml::__construct ResourceLoaderClientHtml::setModules ResourceLoaderClientHtml::setModuleStyles ResourceLoaderClientHtml::setModuleScripts ResourceLoaderClientHtml::getData ResourceLoaderClientHtml::getContext.
Definition at line 113 of file ResourceLoaderClientHtmlTest.php.
References $context, and makeContext().
ResourceLoaderClientHtmlTest::testGetDocumentAttributes | ( | ) |
ResourceLoaderClientHtml::getDocumentAttributes.
Definition at line 100 of file ResourceLoaderClientHtmlTest.php.
ResourceLoaderClientHtmlTest::testGetHeadHtml | ( | ) |
ResourceLoaderClientHtml::setConfig ResourceLoaderClientHtml::setExemptStates ResourceLoaderClientHtml::getHeadHtml ResourceLoaderClientHtml::getLoad ResourceLoader::makeLoaderStateScript.
Definition at line 199 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 284 of file ResourceLoaderClientHtmlTest.php.
ResourceLoaderClientHtmlTest::testGetHeadHtmlWithSafemode | ( | ) |
Confirm that 'safemode' is passed down to startup.
ResourceLoaderClientHtml::getHeadHtml
Definition at line 265 of file ResourceLoaderClientHtmlTest.php.
ResourceLoaderClientHtmlTest::testGetHeadHtmlWithTarget | ( | ) |
Confirm that 'target' is passed down to the startup module's load url.
ResourceLoaderClientHtml::getHeadHtml
Definition at line 246 of file ResourceLoaderClientHtmlTest.php.
provideMakeLoad ResourceLoaderClientHtml::makeLoad ResourceLoaderClientHtml::makeContext ResourceLoader::makeModuleResponse ResourceLoaderModule::getModuleContent ResourceLoader::getCombinedVersion ResourceLoader::createLoaderURL ResourceLoader::createLoaderQuery ResourceLoader::makeLoaderQuery ResourceLoader::makeInlineScript
Definition at line 449 of file ResourceLoaderClientHtmlTest.php.
References $context, $modules, $type, expandVariables(), makeContext(), and ResourceLoaderClientHtml\makeLoad().