X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2F7ExtraTest.php;h=48acf6b7594e54d8e612d234cf58b62ba1fb1e68;hb=442034639bc2504f4500890558c97ebc1ec80bbf;hp=14488e8fa556b17fcb3274d2e763294409ee8538;hpb=bd4048215800186db5224ea04e0d45cab97c12b9;p=plcapi.git diff --git a/tests/7ExtraTest.php b/tests/7ExtraTest.php index 14488e8..48acf6b 100644 --- a/tests/7ExtraTest.php +++ b/tests/7ExtraTest.php @@ -4,20 +4,32 @@ include_once __DIR__ . '/LocalFileTestCase.php'; /** * Tests for php files in the 'extras' directory + * */ class ExtraTest extends PhpXmlRpc_LocalFileTestCase { - public function setUp() + public function set_up() { $this->args = argParser::getArgs(); - $this->baseUrl = $this->args['LOCALSERVER'] . str_replace( '/demo/server/server.php', '/tests/', $this->args['URI'] ); + $this->baseUrl = $this->args['HTTPSERVER'] . str_replace( '/demo/server/server.php', '/tests/', $this->args['HTTPURI'] ); - $this->coverageScriptUrl = 'http://' . $this->args['LOCALSERVER'] . '/' . str_replace( '/demo/server/server.php', 'tests/phpunit_coverage.php', $this->args['URI'] ); + $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'); } -} \ No newline at end of file +}