dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9940810
)
Added a Descriptive Comment to the AutoLoaderTest
author
Matt Walker
<mwalker@wikimedia.org>
Wed, 17 Jul 2013 23:55:36 +0000
(16:55 -0700)
committer
Matt Walker
<mwalker@wikimedia.org>
Wed, 17 Jul 2013 23:56:24 +0000
(16:56 -0700)
Change-Id: Ib209f869f7ec11f29cc69fb02f558b54791eb2aa
tests/phpunit/structure/AutoLoaderTest.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/structure/AutoLoaderTest.php
b/tests/phpunit/structure/AutoLoaderTest.php
index
e49ea6d
..
205ea36
100644
(file)
--- 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();