summaryrefslogtreecommitdiffstats
path: root/3rdparty/simplepie/tests/oldtests/absolutize/RFC3986.5.4/base.php
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/simplepie/tests/oldtests/absolutize/RFC3986.5.4/base.php')
-rw-r--r--3rdparty/simplepie/tests/oldtests/absolutize/RFC3986.5.4/base.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/3rdparty/simplepie/tests/oldtests/absolutize/RFC3986.5.4/base.php b/3rdparty/simplepie/tests/oldtests/absolutize/RFC3986.5.4/base.php
new file mode 100644
index 000000000..913aeec9d
--- /dev/null
+++ b/3rdparty/simplepie/tests/oldtests/absolutize/RFC3986.5.4/base.php
@@ -0,0 +1,25 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986 extends SimplePie_Absolutize_Test
+{
+ function SimplePie_Absolutize_Test_RFC3986()
+ {
+ // Ugly hack so it only applies to this and none of its children
+ if (!is_subclass_of($this, 'SimplePie_Absolutize_Test_RFC3986'))
+ {
+ $this->test = false;
+ }
+ // Only call the parent constructor if it exists
+ if (is_callable(array('parent', 'SimplePie_Absolutize_Test')))
+ {
+ parent::SimplePie_Absolutize_Test();
+ }
+ }
+
+ function init()
+ {
+ $this->data['base'] = 'http://a/b/c/d;p?q';
+ }
+}
+
+?> \ No newline at end of file