Added a Descriptive Comment to the AutoLoaderTest
authorMatt Walker <mwalker@wikimedia.org>
Wed, 17 Jul 2013 23:55:36 +0000 (16:55 -0700)
committerMatt Walker <mwalker@wikimedia.org>
Wed, 17 Jul 2013 23:56:24 +0000 (16:56 -0700)
Change-Id: Ib209f869f7ec11f29cc69fb02f558b54791eb2aa

tests/phpunit/structure/AutoLoaderTest.php

index e49ea6d..205ea36 100644 (file)
@@ -1,6 +1,12 @@
 <?php
 class AutoLoaderTest extends MediaWikiTestCase {
 
+       /**
+        * 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.
+        */
        public function testAutoLoadConfig() {
                $results = self::checkAutoLoadConf();