https://www.mediawiki.org/wiki/Special:Code/MediaWiki/108406

Revision: 108406
Author:   demon
Date:     2012-01-09 13:04:05 +0000 (Mon, 09 Jan 2012)
Log Message:
-----------
Remove no-op codepath

Modified Paths:
--------------
    trunk/phase3/tests/phpunit/includes/parser/NewParserTest.php
    trunk/phase3/tests/testHelpers.inc

Modified: trunk/phase3/tests/phpunit/includes/parser/NewParserTest.php
===================================================================
--- trunk/phase3/tests/phpunit/includes/parser/NewParserTest.php        
2012-01-09 12:58:01 UTC (rev 108405)
+++ trunk/phase3/tests/phpunit/includes/parser/NewParserTest.php        
2012-01-09 13:04:05 UTC (rev 108406)
@@ -801,10 +801,6 @@
                }
        }
 
-       public function showRunFile( $file ) {
-               /* NOP */
-       }
-
        //Test options parser functions
 
        protected function parseOptions( $instring ) {

Modified: trunk/phase3/tests/testHelpers.inc
===================================================================
--- trunk/phase3/tests/testHelpers.inc  2012-01-09 12:58:01 UTC (rev 108405)
+++ trunk/phase3/tests/testHelpers.inc  2012-01-09 13:04:05 UTC (rev 108406)
@@ -12,8 +12,6 @@
        private $eof;
 
        function __construct( $file, $parserTest ) {
-               global $IP;
-
                $this->file = $file;
                $this->fh = fopen( $this->file, "rt" );
 
@@ -22,7 +20,6 @@
                }
 
                $this->parserTest = $parserTest;
-               $this->parserTest->showRunFile( wfRelativePath( $this->file, 
$IP ) );
 
                $this->lineNum = $this->index = 0;
        }


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to