X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2F7ExtraTest.php;h=48acf6b7594e54d8e612d234cf58b62ba1fb1e68;hb=8ccaf4d728232a7537ab964885c526175cb20e09;hp=de7d48f7affb6da04b9a2909b609394f7c8a8738;hpb=f5456e63644d3d34194912d7c371759807be30ed;p=plcapi.git diff --git a/tests/7ExtraTest.php b/tests/7ExtraTest.php index de7d48f..48acf6b 100644 --- a/tests/7ExtraTest.php +++ b/tests/7ExtraTest.php @@ -4,6 +4,7 @@ include_once __DIR__ . '/LocalFileTestCase.php'; /** * Tests for php files in the 'extras' directory + * */ class ExtraTest extends PhpXmlRpc_LocalFileTestCase { @@ -11,11 +12,22 @@ class ExtraTest extends PhpXmlRpc_LocalFileTestCase { $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');