r89471 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89470‎ | r89471 | r89472 >
Date:17:53, 4 June 2011
Author:platonides
Status:ok (Comments)
Tags:
Comment:
Add BlockTest to the tests autoloader. Needed by ApiBlockTest.php
Added tabs to other items (compare ignoring whitespace).
Modified paths:
  • /trunk/phase3/tests/TestsAutoLoader.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/TestsAutoLoader.php
@@ -9,17 +9,17 @@
1010 'MediaWikiTestCase' => "$testFolder/phpunit/MediaWikiTestCase.php",
1111 'MediaWikiPHPUnitCommand' => "$testFolder/phpunit/MediaWikiPHPUnitCommand.php",
1212 'MediaWikiLangTestCase' => "$testFolder/phpunit/MediaWikiLangTestCase.php",
13 -
14 - //API
15 - 'ApiTestSetup' => "$testFolder/phpunit/includes/api/ApiSetup.php",
16 - 'ApiTestCase' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
17 - 'ApiTestUser' => "$testFolder/phpunit/includes/api/ApiTestUser.php",
18 - 'RandomImageGenerator' => "$testFolder/phpunit/includes/api/RandomImageGenerator.php",
 13+ //includes
 14+ 'BlockTest' => "$testFolder/phpunit/includes/BlockTest.php",
 15+ //API
 16+ 'ApiTestSetup' => "$testFolder/phpunit/includes/api/ApiSetup.php",
 17+ 'ApiTestCase' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
 18+ 'ApiTestUser' => "$testFolder/phpunit/includes/api/ApiTestUser.php",
 19+ 'RandomImageGenerator' => "$testFolder/phpunit/includes/api/RandomImageGenerator.php",
1920
20 - //Parser
21 - 'ParserTestFileIterator' => "$testFolder/phpunit/includes/parser/NewParserHelpers.php",
22 -
23 -
 21+ //Parser
 22+ 'ParserTestFileIterator' => "$testFolder/phpunit/includes/parser/NewParserHelpers.php",
 23+
2424 //Selenium
2525 'SeleniumTestConstants' => "$testFolder/selenium/SeleniumTestConstants.php",
2626

Comments

#Comment by Reedy (talk | contribs)   20:02, 4 June 2011

Have you purposely seemingly extra indented it?

#Comment by Platonides (talk | contribs)   21:15, 7 June 2011

Yes, API and Parser are subfolders of includes. This organization was made up by soxred93, see r79447.

Status & tagging log