3 include_once __DIR__ . '/WebTestCase.php';
6 * Tests for php files in the 'extras' directory
9 class ExtraFilesTest extends PhpXmlRpc_WebTestCase
11 public function set_up()
13 $this->args = argParser::getArgs();
15 $this->baseUrl = $this->args['HTTPSERVER'] . str_replace( '/demo/server/server.php', '/extras/', $this->args['HTTPURI'] );
17 $this->coverageScriptUrl = 'http://' . $this->args['HTTPSERVER'] . '/' . str_replace( '/demo/server/server.php', 'tests/phpunit_coverage.php', $this->args['HTTPURI'] );
21 * @todo collect code coverage for this...
23 public function testBenchmark()
25 $page = $this->request('benchmark.php');
29 * @todo collect code coverage for this...
31 public function testVerifyCompat()
33 $page = $this->request('verify_compat.php');
36 public function testVarDemo()
38 $this->baseUrl = str_replace('/extras/', '/demo/', $this->baseUrl);
39 $page = $this->request('vardemo.php');