MediaWiki
REL1_23
|
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 () |
Definition at line 3 of file AutoLoaderTest.php.
static AutoLoaderTest::checkAutoLoadConf | ( | ) | [static, protected] |
Definition at line 39 of file AutoLoaderTest.php.
References $file, $files, $IP, $matches, $wgAutoloadClasses, $wgAutoloadLocalClasses, array(), as, empty, and global.
Referenced by testAutoLoadConfig().
AutoLoaderTest::setUp | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 4 of file AutoLoaderTest.php.
References $wgAutoloadClasses, $wgAutoloadLocalClasses, array(), global, AutoLoader\resetAutoloadLocalClassesLower(), and MediaWikiTestCase\setMwGlobals().
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 30 of file AutoLoaderTest.php.
References checkAutoLoadConf().
Definition at line 103 of file AutoLoaderTest.php.
Definition at line 107 of file AutoLoaderTest.php.
Definition at line 111 of file AutoLoaderTest.php.
Definition at line 115 of file AutoLoaderTest.php.