Merge "Added a Descriptive Comment to the AutoLoaderTest"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 19 Jul 2013 22:06:40 +0000 (22:06 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 19 Jul 2013 22:06:40 +0000 (22:06 +0000)
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();