MediaWiki
REL1_22
|
Public Member Functions | |
testAutoLoadConfig () | |
Assert that there were no classes loaded that are not registered with the AutoLoader. | |
Static Protected Member Functions | |
static | checkAutoLoadConf () |
Definition at line 2 of file AutoLoaderTest.php.
static AutoLoaderTest::checkAutoLoadConf | ( | ) | [static, protected] |
Definition at line 19 of file AutoLoaderTest.php.
References $file, $files, $IP, $wgAutoloadClasses, $wgAutoloadLocalClasses, array(), as, 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 10 of file AutoLoaderTest.php.
References checkAutoLoadConf().