jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Demon: Looks good to me, approved
Adamw: Looks good to me, but someone else must approve
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: Ib209f869f7ec11f29cc69fb02f558b54791eb2aa
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Mwalker <[email protected]>
Gerrit-Reviewer: Adamw <[email protected]>
Gerrit-Reviewer: Demon <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits