From: Antoine Musso Date: Tue, 21 May 2013 09:56:26 +0000 (+0200) Subject: autoloader missed some entries X-Git-Tag: 1.31.0-rc.0~19541^2~1 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=ea14e469655e84b664fb99de4fd75399c44f6b9a;p=lhc%2Fweb%2Fwiklou.git autoloader missed some entries Jenkins does not run the autoloader test (will be fixed in a different commit). This patch fix the main and test autoloader to add in all the missing entries. bug: 47750 Change-Id: I285fa7ed24a6fc45a4dc475b54d80cf3816436fb --- diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index 26d5b94c9c..326fb5c7f0 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -118,9 +118,11 @@ $wgAutoloadLocalClasses = array( 'HTMLFloatField' => 'includes/HTMLForm.php', 'HTMLForm' => 'includes/HTMLForm.php', 'HTMLFormField' => 'includes/HTMLForm.php', + 'HTMLFormFieldRequiredOptionsException' => 'includes/HTMLForm.php', 'HTMLHiddenField' => 'includes/HTMLForm.php', 'HTMLInfoField' => 'includes/HTMLForm.php', 'HTMLIntField' => 'includes/HTMLForm.php', + 'HTMLNestedFilterable' => 'includes/HTMLForm.php', 'HTMLMultiSelectField' => 'includes/HTMLForm.php', 'HTMLRadioField' => 'includes/HTMLForm.php', 'HTMLSelectAndOtherField' => 'includes/HTMLForm.php', diff --git a/tests/TestsAutoLoader.php b/tests/TestsAutoLoader.php index 4a6e3fbfc9..9f8887b596 100644 --- a/tests/TestsAutoLoader.php +++ b/tests/TestsAutoLoader.php @@ -33,6 +33,7 @@ $wgAutoloadClasses += array( 'ParserTestResult' => "$testDir/parser/ParserTestResult.php", 'TestFileIterator' => "$testDir/testHelpers.inc", 'TestRecorder' => "$testDir/testHelpers.inc", + 'ITestRecorder' => "$testDir/testHelpers.inc", # tests/phpunit 'MediaWikiTestCase' => "$testDir/phpunit/MediaWikiTestCase.php", @@ -48,6 +49,7 @@ $wgAutoloadClasses += array( //db 'ORMTableTest' => "$testDir/phpunit/includes/db/ORMTableTest.php", + 'PageORMTableForTesting' => "$testDir/phpunit/includes/db/ORMTableTest.php", 'DatabaseTestHelper' => "$testDir/phpunit/includes/db/DatabaseTestHelper.php", # tests/phpunit/includes/api