r108406 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108405‎ | r108406 | r108407 >
Date:13:04, 9 January 2012
Author:demon
Status:ok
Tags:
Comment:
Remove no-op codepath
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/parser/NewParserTest.php (modified) (history)
  • /trunk/phase3/tests/testHelpers.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/parser/NewParserTest.php
@@ -801,10 +801,6 @@
802802 }
803803 }
804804
805 - public function showRunFile( $file ) {
806 - /* NOP */
807 - }
808 -
809805 //Test options parser functions
810806
811807 protected function parseOptions( $instring ) {
Index: trunk/phase3/tests/testHelpers.inc
@@ -12,8 +12,6 @@
1313 private $eof;
1414
1515 function __construct( $file, $parserTest ) {
16 - global $IP;
17 -
1816 $this->file = $file;
1917 $this->fh = fopen( $this->file, "rt" );
2018
@@ -22,7 +20,6 @@
2321 }
2422
2523 $this->parserTest = $parserTest;
26 - $this->parserTest->showRunFile( wfRelativePath( $this->file, $IP ) );
2724
2825 $this->lineNum = $this->index = 0;
2926 }

Status & tagging log