MediaWiki  master
ResourceLoaderClientHtmlTest Class Reference

ResourceLoader ResourceLoaderClientHtml. More...

Inheritance diagram for ResourceLoaderClientHtmlTest:
Collaboration diagram for ResourceLoaderClientHtmlTest:

Public Member Functions

 testGetBodyHtml ()
 testGetData ()
 testGetDocumentAttributes ()
 testGetHeadHtml ()
 testGetHeadHtmlWithNullTarget ()
 Confirm that a null 'target' is the same as no target. More...
 testGetHeadHtmlWithSafemode ()
 Confirm that 'safemode' is passed down to startup. More...
 testGetHeadHtmlWithTarget ()
 Confirm that 'target' is passed down to the startup module's load url. More...
 testMakeLoad (array $contextQuery, array $modules, $type, array $extraQuery, $expected)
 provideMakeLoad ResourceLoaderClientHtml ResourceLoaderModule::getModuleContent ResourceLoader More...

Static Public Member Functions

static provideMakeLoad ()

Static Private Member Functions

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

Detailed Description

Member Function Documentation

◆ expandVariables()

static ResourceLoaderClientHtmlTest::expandVariables (   $text)

◆ makeContext()

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

Definition at line 358 of file ResourceLoaderClientHtmlTest.php.

◆ makeModule()

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

Definition at line 376 of file ResourceLoaderClientHtmlTest.php.

References $options.

◆ makeSampleModules()

static ResourceLoaderClientHtmlTest::makeSampleModules ( )

◆ provideMakeLoad()

static ResourceLoaderClientHtmlTest::provideMakeLoad ( )

◆ testGetBodyHtml()

ResourceLoaderClientHtmlTest::testGetBodyHtml ( )

Definition at line 179 of file ResourceLoaderClientHtmlTest.php.

References $context.

◆ testGetData()

ResourceLoaderClientHtmlTest::testGetData ( )

Definition at line 13 of file ResourceLoaderClientHtmlTest.php.

References $context, and Xml\encodeJsCall().

◆ testGetDocumentAttributes()

ResourceLoaderClientHtmlTest::testGetDocumentAttributes ( )

Definition at line 347 of file ResourceLoaderClientHtmlTest.php.

◆ testGetHeadHtml()

ResourceLoaderClientHtmlTest::testGetHeadHtml ( )

Definition at line 88 of file ResourceLoaderClientHtmlTest.php.

References $context.

◆ testGetHeadHtmlWithNullTarget()

ResourceLoaderClientHtmlTest::testGetHeadHtmlWithNullTarget ( )

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

Definition at line 165 of file ResourceLoaderClientHtmlTest.php.

References null.

◆ testGetHeadHtmlWithSafemode()

ResourceLoaderClientHtmlTest::testGetHeadHtmlWithSafemode ( )

Confirm that 'safemode' is passed down to startup.

Definition at line 148 of file ResourceLoaderClientHtmlTest.php.

◆ testGetHeadHtmlWithTarget()

ResourceLoaderClientHtmlTest::testGetHeadHtmlWithTarget ( )

Confirm that 'target' is passed down to the startup module's load url.

Definition at line 131 of file ResourceLoaderClientHtmlTest.php.

◆ testMakeLoad()

ResourceLoaderClientHtmlTest::testMakeLoad ( array  $contextQuery,
array  $modules,
array  $extraQuery,

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