MediaWiki REL1_31
ResourceLoaderClientHtmlTest Class Reference

ResourceLoader. More...

Inheritance diagram for ResourceLoaderClientHtmlTest:
Collaboration diagram for ResourceLoaderClientHtmlTest:

Public Member Functions

 testGetBodyHtml ()
 ResourceLoaderClientHtml::getBodyHtml ResourceLoaderClientHtml::getLoad.
 
 testGetData ()
 ResourceLoaderClientHtml::__construct ResourceLoaderClientHtml::setModules ResourceLoaderClientHtml::setModuleStyles ResourceLoaderClientHtml::setModuleScripts ResourceLoaderClientHtml::getData ResourceLoaderClientHtml::getContext.
 
 testGetDocumentAttributes ()
 ResourceLoaderClientHtml::getDocumentAttributes.
 
 testGetHeadHtml ()
 ResourceLoaderClientHtml::setConfig ResourceLoaderClientHtml::setExemptStates ResourceLoaderClientHtml::getHeadHtml ResourceLoaderClientHtml::getLoad ResourceLoader::makeLoaderStateScript.
 
 testGetHeadHtmlWithNullTarget ()
 Confirm that a null 'target' is the same as no target.
 
 testGetHeadHtmlWithTarget ()
 Confirm that 'target' is passed down to the startup module's load url.
 
 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
 

Static Public Member Functions

static provideMakeLoad ()
 

Static Protected Member Functions

static expandVariables ( $text)
 
static makeContext ( $extraQuery=[])
 
static makeModule (array $options=[])
 
static makeSampleModules ()
 

Detailed Description

ResourceLoader.

Definition at line 8 of file ResourceLoaderClientHtmlTest.php.

Member Function Documentation

◆ expandVariables()

static ResourceLoaderClientHtmlTest::expandVariables ( $text)
staticprotected

◆ makeContext()

static ResourceLoaderClientHtmlTest::makeContext ( $extraQuery = [])
staticprotected

◆ makeModule()

static ResourceLoaderClientHtmlTest::makeModule ( array $options = [])
staticprotected

Definition at line 38 of file ResourceLoaderClientHtmlTest.php.

References $options.

Referenced by makeSampleModules().

◆ makeSampleModules()

static ResourceLoaderClientHtmlTest::makeSampleModules ( )
staticprotected

◆ provideMakeLoad()

static ResourceLoaderClientHtmlTest::provideMakeLoad ( )
static

◆ testGetBodyHtml()

ResourceLoaderClientHtmlTest::testGetBodyHtml ( )

◆ testGetData()

◆ testGetDocumentAttributes()

ResourceLoaderClientHtmlTest::testGetDocumentAttributes ( )

◆ testGetHeadHtml()

◆ testGetHeadHtmlWithNullTarget()

ResourceLoaderClientHtmlTest::testGetHeadHtmlWithNullTarget ( )

Confirm that a null 'target' is the same as no target.

ResourceLoaderClientHtml::getHeadHtml

Definition at line 244 of file ResourceLoaderClientHtmlTest.php.

◆ testGetHeadHtmlWithTarget()

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.

◆ testMakeLoad()


The documentation for this class was generated from the following file: