MediaWiki  REL1_19
ResourceLoaderTest Class Reference
Inheritance diagram for ResourceLoaderTest:
Collaboration diagram for ResourceLoaderTest:

List of all members.

Public Member Functions

 providePackedModules ()
 provideValidModules ()
 testCreatingNewResourceLoaderCallsRegistrationHook ()
 Ensures that the ResourceLoaderRegisterModules hook is called when a new ResourceLoader object is constructed ResourceLoader::__construct.
 testexpandModuleNames ($desc, $modules, $packed)
 providePackedModules
 testMakePackedModulesString ($desc, $modules, $packed)
 providePackedModules
 testRegisteredValidModulesAreAccessible ($name, ResourceLoaderModule $module, ResourceLoader $resourceLoader)
 provideValidModules testCreatingNewResourceLoaderCallsRegistrationHook ResourceLoader::register ResourceLoader::getModule

Static Public Member Functions

static resourceLoaderRegisterModules (&$resourceLoader)
 ResourceLoaderRegisterModules hook.

Static Protected Attributes

static $resourceLoaderRegisterModulesHook

Detailed Description

Definition at line 3 of file ResourceLoaderTest.php.


Member Function Documentation

static ResourceLoaderTest::resourceLoaderRegisterModules ( &$  resourceLoader) [static]

ResourceLoaderRegisterModules hook.

Definition at line 12 of file ResourceLoaderTest.php.

Ensures that the ResourceLoaderRegisterModules hook is called when a new ResourceLoader object is constructed ResourceLoader::__construct.

Definition at line 30 of file ResourceLoaderTest.php.

References $resourceLoader.

ResourceLoaderTest::testexpandModuleNames ( desc,
modules,
packed 
)

providePackedModules

Definition at line 60 of file ResourceLoaderTest.php.

References ResourceLoaderContext\expandModuleNames().

Here is the call graph for this function:

ResourceLoaderTest::testMakePackedModulesString ( desc,
modules,
packed 
)

providePackedModules

Definition at line 53 of file ResourceLoaderTest.php.

References ResourceLoader\makePackedModulesString().

Here is the call graph for this function:

provideValidModules testCreatingNewResourceLoaderCallsRegistrationHook ResourceLoader::register ResourceLoader::getModule

Definition at line 43 of file ResourceLoaderTest.php.

References ResourceLoader\getModule(), and ResourceLoader\register().

Here is the call graph for this function:


Member Data Documentation

ResourceLoaderTest::$resourceLoaderRegisterModulesHook [static, protected]

Definition at line 5 of file ResourceLoaderTest.php.


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