MediaWiki
REL1_24
|
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 43 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 34 of file AutoLoaderTest.php.
References checkAutoLoadConf().
Definition at line 117 of file AutoLoaderTest.php.
Definition at line 121 of file AutoLoaderTest.php.
Definition at line 125 of file AutoLoaderTest.php.
Definition at line 129 of file AutoLoaderTest.php.