MediaWiki  REL1_24
AutoLoaderTest Class Reference
Inheritance diagram for AutoLoaderTest:
Collaboration diagram for AutoLoaderTest:

List of all members.

Public Member Functions

 testAutoLoadConfig ()
 Assert that there were no classes loaded that are not registered with the AutoLoader.
 testCoreClass ()
 testExtensionClass ()
 testWrongCaseClass ()
 testWrongCaseSerializedClass ()

Protected Member Functions

 setUp ()

Static Protected Member Functions

static checkAutoLoadConf ()

Detailed Description

Definition at line 3 of file AutoLoaderTest.php.


Member Function Documentation

static AutoLoaderTest::checkAutoLoadConf ( ) [static, protected]

Definition at line 43 of file AutoLoaderTest.php.

References $file, $files, $IP, $matches, $wgAutoloadClasses, $wgAutoloadLocalClasses, array(), as, empty, and global.

Referenced by testAutoLoadConfig().

Assert that there were no classes loaded that are not registered with the AutoLoader.

For example foo.php having class Foo and class Bar but only registering Foo. This is important because we should not be relying on Foo being used before Bar.

Definition at line 34 of file AutoLoaderTest.php.

References checkAutoLoadConf().

Definition at line 117 of file AutoLoaderTest.php.


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