Remove no-op codepath
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 9 Jan 2012 13:04:05 +0000 (13:04 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 9 Jan 2012 13:04:05 +0000 (13:04 +0000)
tests/phpunit/includes/parser/NewParserTest.php
tests/testHelpers.inc

index 529fc92..5574c5f 100644 (file)
@@ -801,10 +801,6 @@ class NewParserTest extends MediaWikiTestCase {
                }
        }
 
-       public function showRunFile( $file ) {
-               /* NOP */
-       }
-
        //Test options parser functions
 
        protected function parseOptions( $instring ) {
index 94168ab..7d9fc6b 100644 (file)
@@ -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;
        }