From 6cc12777484a775917ff8998cc04bd2f9fb613cc Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Mon, 9 Jan 2012 13:04:05 +0000 Subject: [PATCH] Remove no-op codepath --- tests/phpunit/includes/parser/NewParserTest.php | 4 ---- tests/testHelpers.inc | 3 --- 2 files changed, 7 deletions(-) diff --git a/tests/phpunit/includes/parser/NewParserTest.php b/tests/phpunit/includes/parser/NewParserTest.php index 529fc92b66..5574c5f192 100644 --- a/tests/phpunit/includes/parser/NewParserTest.php +++ b/tests/phpunit/includes/parser/NewParserTest.php @@ -801,10 +801,6 @@ class NewParserTest extends MediaWikiTestCase { } } - public function showRunFile( $file ) { - /* NOP */ - } - //Test options parser functions protected function parseOptions( $instring ) { diff --git a/tests/testHelpers.inc b/tests/testHelpers.inc index 94168ab077..7d9fc6b03a 100644 --- a/tests/testHelpers.inc +++ b/tests/testHelpers.inc @@ -12,8 +12,6 @@ class TestFileIterator implements Iterator { private $eof; function __construct( $file, $parserTest ) { - global $IP; - $this->file = $file; $this->fh = fopen( $this->file, "rt" ); @@ -22,7 +20,6 @@ class TestFileIterator implements Iterator { } $this->parserTest = $parserTest; - $this->parserTest->showRunFile( wfRelativePath( $this->file, $IP ) ); $this->lineNum = $this->index = 0; } -- 2.20.1