From: Chad Horohoe Date: Mon, 9 Jan 2012 13:04:05 +0000 (+0000) Subject: Remove no-op codepath X-Git-Tag: 1.31.0-rc.0~25401 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=6cc12777484a775917ff8998cc04bd2f9fb613cc;p=lhc%2Fweb%2Fwiklou.git Remove no-op codepath --- 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; }