MediaWiki
REL1_22
|
Public Member Functions | |
testCreatingNewResourceLoaderCallsRegistrationHook () | |
Ensures that the ResourceLoaderRegisterModules hook is called when a new ResourceLoader object is constructed ResourceLoader::__construct. | |
testexpandModuleNames ($desc, $modules, $packed) | |
providePackedModules ResourceLoaderContext::expandModuleNames | |
testLessFileCompilation ($context) | |
provideResourceLoaderContext ResourceLoaderFileModule::compileLessFile | |
testMakePackedModulesString ($desc, $modules, $packed) | |
providePackedModules ResourceLoader::makePackedModulesString | |
testRegisteredValidModulesAreAccessible ($name, ResourceLoaderModule $module, ResourceLoader $resourceLoader) | |
provideValidModules testCreatingNewResourceLoaderCallsRegistrationHook ResourceLoader::register ResourceLoader::getModule | |
Static Public Member Functions | |
static | providePackedModules () |
static | provideResourceLoaderContext () |
static | provideValidModules () |
static | resourceLoaderRegisterModules (&$resourceLoader) |
ResourceLoaderRegisterModules hook. | |
Protected Member Functions | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. | |
Static Protected Attributes | |
static | $resourceLoaderRegisterModulesHook |
Definition at line 3 of file ResourceLoaderTest.php.
static ResourceLoaderTest::providePackedModules | ( | ) | [static] |
Definition at line 116 of file ResourceLoaderTest.php.
References array().
static ResourceLoaderTest::provideResourceLoaderContext | ( | ) | [static] |
Definition at line 51 of file ResourceLoaderTest.php.
References $resourceLoader, and array().
static ResourceLoaderTest::provideValidModules | ( | ) | [static] |
Definition at line 45 of file ResourceLoaderTest.php.
References array().
static ResourceLoaderTest::resourceLoaderRegisterModules | ( | &$ | resourceLoader | ) | [static] |
ResourceLoaderRegisterModules hook.
Definition at line 38 of file ResourceLoaderTest.php.
ResourceLoaderTest::setUp | ( | ) | [protected] |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiTestCase.
Definition at line 7 of file ResourceLoaderTest.php.
References array(), as, and MediaWikiTestCase\setMwGlobals().
Ensures that the ResourceLoaderRegisterModules hook is called when a new ResourceLoader object is constructed ResourceLoader::__construct.
Definition at line 65 of file ResourceLoaderTest.php.
References $resourceLoader.
ResourceLoaderTest::testexpandModuleNames | ( | $ | desc, |
$ | modules, | ||
$ | packed | ||
) |
providePackedModules ResourceLoaderContext::expandModuleNames
Definition at line 112 of file ResourceLoaderTest.php.
References ResourceLoaderContext\expandModuleNames().
ResourceLoaderTest::testLessFileCompilation | ( | $ | context | ) |
provideResourceLoaderContext ResourceLoaderFileModule::compileLessFile
Definition at line 90 of file ResourceLoaderTest.php.
References array().
ResourceLoaderTest::testMakePackedModulesString | ( | $ | desc, |
$ | modules, | ||
$ | packed | ||
) |
providePackedModules ResourceLoader::makePackedModulesString
Definition at line 104 of file ResourceLoaderTest.php.
References ResourceLoader\makePackedModulesString().
ResourceLoaderTest::testRegisteredValidModulesAreAccessible | ( | $ | name, |
ResourceLoaderModule $ | module, | ||
ResourceLoader $ | resourceLoader | ||
) |
provideValidModules testCreatingNewResourceLoaderCallsRegistrationHook ResourceLoader::register ResourceLoader::getModule
Definition at line 79 of file ResourceLoaderTest.php.
References $name, ResourceLoader\getModule(), and ResourceLoader\register().
ResourceLoaderTest::$resourceLoaderRegisterModulesHook [static, protected] |
Definition at line 5 of file ResourceLoaderTest.php.