r111613 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111612‎ | r111613 | r111614 >
Date:02:44, 16 February 2012
Author:reedy
Status:ok
Tags:
Comment:
Add NewParserTest to TestsAutoLoader.php

Fix undefined variable in testHelpers.inc
Modified paths:
  • /trunk/phase3/tests/TestsAutoLoader.php (modified) (history)
  • /trunk/phase3/tests/testHelpers.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/TestsAutoLoader.php
@@ -9,6 +9,7 @@
1010 'MediaWikiTestCase' => "$testFolder/phpunit/MediaWikiTestCase.php",
1111 'MediaWikiPHPUnitCommand' => "$testFolder/phpunit/MediaWikiPHPUnitCommand.php",
1212 'MediaWikiLangTestCase' => "$testFolder/phpunit/MediaWikiLangTestCase.php",
 13+ 'NewParserTest' => "$testFolder/phpunit/includes/parser/NewParserTest.php",
1314
1415 //includes
1516 'BlockTest' => "$testFolder/phpunit/includes/BlockTest.php",
Index: trunk/phase3/tests/testHelpers.inc
@@ -460,7 +460,7 @@
461461 }
462462
463463 if ( isset ( $this->sectionData[$this->section] ) ) {
464 - throw new MWException( "duplicate section '$section' at line {$this->lineNum} of $this->file\n" );
 464+ throw new MWException( "duplicate section '$this->section' at line {$this->lineNum} of $this->file\n" );
465465 }
466466
467467 $this->sectionData[$this->section] = '';
@@ -579,4 +579,4 @@
580580 $this->fnHooks[] = $fnHook;
581581 }
582582
583 -}
\ No newline at end of file
 583+}

Status & tagging log