Ticket #31982: 31982.5.diff
File 31982.5.diff, 1.1 KB (added by , 10 years ago) |
---|
-
tests/phpunit/includes/wp-profiler.php
29 29 $this->profile = array(); 30 30 } 31 31 32 /**33 * PHP4 constructor.34 */35 public function WPProfiler() {36 self::__construct();37 }38 39 32 function start($name) { 40 33 $time = $this->microtime(); 41 34 -
tests/phpunit/includes/utils.php
33 33 $this->debug = $debug; 34 34 } 35 35 36 /**37 * PHP4 constructor.38 */39 public function MockAction( $debug = 0 ) {40 self::__construct( $debug );41 }42 43 36 function reset() { 44 37 $this->events = array(); 45 38 } … … 151 144 $this->parse($in); 152 145 } 153 146 154 /**155 * PHP4 constructor.156 */157 public function testXMLParser( $in ) {158 self::__construct( $in );159 }160 161 147 function parse($in) { 162 148 $parse = xml_parse($this->xml, $in, sizeof($in)); 163 149 if (!$parse) {