args = argParser::getArgs(); $this->baseUrl = $this->args['HTTPSERVER'] . str_replace( '/demo/server/server.php', '/extras/', $this->args['HTTPURI'] ); $this->coverageScriptUrl = 'http://' . $this->args['HTTPSERVER'] . '/' . str_replace( '/demo/server/server.php', 'tests/phpunit_coverage.php', $this->args['HTTPURI'] ); } /** * @todo collect code coverage for this... */ public function testBenchmark() { $page = $this->request('benchmark.php'); } /** * @todo collect code coverage for this... */ public function testVerifyCompat() { $page = $this->request('verify_compat.php'); } public function testVarDemo() { $this->baseUrl = str_replace('/extras/', '/demo/', $this->baseUrl); $page = $this->request('vardemo.php'); } }