Add 'php/phpxmlrpc/' from commit 'cd5dbb4a511e7a616a61187a5de1a611a9748cbd'
[plcapi.git] / php / phpxmlrpc / tests / 7ExtraTest.php
diff --git a/php/phpxmlrpc/tests/7ExtraTest.php b/php/phpxmlrpc/tests/7ExtraTest.php
new file mode 100644 (file)
index 0000000..14488e8
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+
+include_once __DIR__ . '/LocalFileTestCase.php';
+
+/**
+ * Tests for php files in the 'extras' directory
+ */
+class ExtraTest extends PhpXmlRpc_LocalFileTestCase
+{
+    public function setUp()
+    {
+        $this->args = argParser::getArgs();
+
+        $this->baseUrl = $this->args['LOCALSERVER'] . str_replace( '/demo/server/server.php', '/tests/', $this->args['URI'] );
+
+        $this->coverageScriptUrl = 'http://' . $this->args['LOCALSERVER'] . '/' . str_replace( '/demo/server/server.php', 'tests/phpunit_coverage.php', $this->args['URI'] );
+    }
+
+    public function testVerifyCompat()
+    {
+        $page = $this->request('verify_compat.php');
+    }
+}
\ No newline at end of file