r87392 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87391‎ | r87392 | r87393 >
Date:11:46, 4 May 2011
Author:pcopp
Status:ok
Tags:
Comment:
Follow-up r87210: Add MediaWikiLangTestCase to the autoloader and make the class abstract.
Modified paths:
  • /trunk/phase3/tests/TestsAutoLoader.php (modified) (history)
  • /trunk/phase3/tests/phpunit/MediaWikiLangTestCase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/MediaWikiLangTestCase.php
@@ -3,7 +3,7 @@
44 /**
55 * Base class that store and restore the Language objects
66 */
7 -class MediaWikiLangTestCase extends MediaWikiTestCase {
 7+abstract class MediaWikiLangTestCase extends MediaWikiTestCase {
88 private static $oldLang;
99 private static $oldContLang;
1010
Index: trunk/phase3/tests/TestsAutoLoader.php
@@ -8,6 +8,7 @@
99 //PHPUnit
1010 'MediaWikiTestCase' => "$testFolder/phpunit/MediaWikiTestCase.php",
1111 'MediaWikiPHPUnitCommand' => "$testFolder/phpunit/MediaWikiPHPUnitCommand.php",
 12+ 'MediaWikiLangTestCase' => "$testFolder/phpunit/MediaWikiLangTestCase.php",
1213
1314 //API
1415 'ApiTestSetup' => "$testFolder/phpunit/includes/api/ApiSetup.php",

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r87210Fix the old XmlTest.php test bug in the dateMenu() when the wiki is configure...platonides19:32, 1 May 2011

Status & tagging log