Mwalker has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/74301


Change subject: Added a Descriptive Comment to the AutoLoaderTest
......................................................................

Added a Descriptive Comment to the AutoLoaderTest

Change-Id: Ib209f869f7ec11f29cc69fb02f558b54791eb2aa
---
M tests/phpunit/structure/AutoLoaderTest.php
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/01/74301/1

diff --git a/tests/phpunit/structure/AutoLoaderTest.php 
b/tests/phpunit/structure/AutoLoaderTest.php
index e49ea6d..205ea36 100644
--- a/tests/phpunit/structure/AutoLoaderTest.php
+++ b/tests/phpunit/structure/AutoLoaderTest.php
@@ -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();
 

-- 
To view, visit https://gerrit.wikimedia.org/r/74301
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib209f869f7ec11f29cc69fb02f558b54791eb2aa
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Mwalker <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to