MediaWiki REL1_33
|
ResourceLoader ResourceLoaderClientHtml. More...
Public Member Functions | |
testGetBodyHtml () | |
testGetData () | |
testGetDocumentAttributes () | |
testGetHeadHtml () | |
testGetHeadHtmlWithNullTarget () | |
Confirm that a null 'target' is the same as no target. | |
testGetHeadHtmlWithSafemode () | |
Confirm that 'safemode' is passed down to startup. | |
testGetHeadHtmlWithTarget () | |
Confirm that 'target' is passed down to the startup module's load url. | |
testMakeLoad (array $contextQuery, array $modules, $type, array $extraQuery, $expected) | |
provideMakeLoad ResourceLoaderClientHtml ResourceLoaderModule::getModuleContent ResourceLoader | |
Static Public Member Functions | |
static | provideMakeLoad () |
Static Private Member Functions | |
static | expandVariables ( $text) |
static | makeContext ( $extraQuery=[]) |
static | makeModule (array $options=[]) |
static | makeSampleModules () |
ResourceLoader ResourceLoaderClientHtml.
Definition at line 9 of file ResourceLoaderClientHtmlTest.php.
|
staticprivate |
Definition at line 350 of file ResourceLoaderClientHtmlTest.php.
References and(), and ResourceLoaderTestCase\BLANK_VERSION.
Referenced by testGetHeadHtml(), and testMakeLoad().
|
staticprivate |
Definition at line 356 of file ResourceLoaderClientHtmlTest.php.
References and().
Referenced by testGetBodyHtml(), testGetData(), testGetHeadHtml(), and testMakeLoad().
|
staticprivate |
Definition at line 374 of file ResourceLoaderClientHtmlTest.php.
References $options.
Referenced by makeSampleModules().
|
staticprivate |
Definition at line 378 of file ResourceLoaderClientHtmlTest.php.
References $modules, $options, and(), false, ResourceLoaderModule\LOAD_STYLES, makeModule(), and true.
|
static |
Definition at line 199 of file ResourceLoaderClientHtmlTest.php.
References ResourceLoaderModule\TYPE_COMBINED, ResourceLoaderModule\TYPE_SCRIPTS, and ResourceLoaderModule\TYPE_STYLES.
ResourceLoaderClientHtmlTest::testGetBodyHtml | ( | ) |
Definition at line 177 of file ResourceLoaderClientHtmlTest.php.
References $context, and(), and makeContext().
ResourceLoaderClientHtmlTest::testGetData | ( | ) |
Definition at line 13 of file ResourceLoaderClientHtmlTest.php.
References $context, and(), and makeContext().
ResourceLoaderClientHtmlTest::testGetDocumentAttributes | ( | ) |
Definition at line 345 of file ResourceLoaderClientHtmlTest.php.
References and().
ResourceLoaderClientHtmlTest::testGetHeadHtml | ( | ) |
Definition at line 88 of file ResourceLoaderClientHtmlTest.php.
References $context, and(), expandVariables(), and makeContext().
ResourceLoaderClientHtmlTest::testGetHeadHtmlWithNullTarget | ( | ) |
Confirm that a null 'target' is the same as no target.
Definition at line 163 of file ResourceLoaderClientHtmlTest.php.
References and().
ResourceLoaderClientHtmlTest::testGetHeadHtmlWithSafemode | ( | ) |
Confirm that 'safemode' is passed down to startup.
Definition at line 146 of file ResourceLoaderClientHtmlTest.php.
References and().
ResourceLoaderClientHtmlTest::testGetHeadHtmlWithTarget | ( | ) |
Confirm that 'target' is passed down to the startup module's load url.
Definition at line 129 of file ResourceLoaderClientHtmlTest.php.
References and().
ResourceLoaderClientHtmlTest::testMakeLoad | ( | array | $contextQuery, |
array | $modules, | ||
$type, | |||
array | $extraQuery, | ||
$expected ) |
provideMakeLoad ResourceLoaderClientHtml ResourceLoaderModule::getModuleContent ResourceLoader
Definition at line 331 of file ResourceLoaderClientHtmlTest.php.
References $context, $modules, $type, and(), expandVariables(), makeContext(), and ResourceLoaderClientHtml\makeLoad().