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

List of all members.

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
 testMakePackedModulesString ($desc, $modules, $packed)
 providePackedModules
 testRegisteredValidModulesAreAccessible ($name, ResourceLoaderModule $module, ResourceLoader $resourceLoader)
 provideValidModules testCreatingNewResourceLoaderCallsRegistrationHook ResourceLoader::register ResourceLoader::getModule

Static Public Member Functions

static providePackedModules ()
static provideValidModules ()
static resourceLoaderRegisterModules (&$resourceLoader)
 ResourceLoaderRegisterModules hook.

Static Protected Attributes

static $resourceLoaderRegisterModulesHook

Detailed Description

Definition at line 3 of file ResourceLoaderTest.php.


Member Function Documentation

Definition at line 64 of file ResourceLoaderTest.php.

References array().

Definition at line 18 of file ResourceLoaderTest.php.

References array().

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().

ResourceLoaderTest::testMakePackedModulesString ( desc,
modules,
packed 
)

providePackedModules

Definition at line 53 of file ResourceLoaderTest.php.

References ResourceLoader\makePackedModulesString().

provideValidModules testCreatingNewResourceLoaderCallsRegistrationHook ResourceLoader::register ResourceLoader::getModule

Definition at line 43 of file ResourceLoaderTest.php.

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


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: