MediaWiki  REL1_22
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 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

Detailed Description

Definition at line 3 of file ResourceLoaderTest.php.


Member Function Documentation

Definition at line 116 of file ResourceLoaderTest.php.

References array().

Definition at line 51 of file ResourceLoaderTest.php.

References $resourceLoader, and array().

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 
)

provideResourceLoaderContext ResourceLoaderFileModule::compileLessFile

Definition at line 90 of file ResourceLoaderTest.php.

References array().

ResourceLoaderTest::testMakePackedModulesString ( desc,
modules,
packed 
)

provideValidModules testCreatingNewResourceLoaderCallsRegistrationHook ResourceLoader::register ResourceLoader::getModule

Definition at line 79 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: