aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/absolutize/RFC3986.5.4/normal
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-05 03:34:42 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-05 03:34:42 -0700
commit9f7ae0e95f89b964a098eaacdfd89ff25e05c615 (patch)
tree0bfe8d04f4b11abdbea41fe9bf6e165eec8ebc4b /simplepie/test/absolutize/RFC3986.5.4/normal
parentf5826105bfc514599b2c5b6692bca14ca4bc5d78 (diff)
downloadvolse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.gz
volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.bz2
volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.zip
Add simplepie
Diffstat (limited to 'simplepie/test/absolutize/RFC3986.5.4/normal')
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/1.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/10.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/11.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/12.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/13.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/14.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/15.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/16.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/17.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/18.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/19.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/2.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/20.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/21.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/22.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/23.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/3.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/4.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/5.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/6.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/7.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/8.php16
-rw-r--r--simplepie/test/absolutize/RFC3986.5.4/normal/9.php16
23 files changed, 368 insertions, 0 deletions
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/1.php b/simplepie/test/absolutize/RFC3986.5.4/normal/1.php
new file mode 100644
index 000000000..0550ff030
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/1.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_1 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = 'g:h';
+ }
+
+ function expected()
+ {
+ $this->expected = 'g:h';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/10.php b/simplepie/test/absolutize/RFC3986.5.4/normal/10.php
new file mode 100644
index 000000000..86eab935c
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/10.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_10 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = 'g#s';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/c/g#s';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/11.php b/simplepie/test/absolutize/RFC3986.5.4/normal/11.php
new file mode 100644
index 000000000..caa262bff
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/11.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_11 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = 'g?y#s';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/c/g?y#s';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/12.php b/simplepie/test/absolutize/RFC3986.5.4/normal/12.php
new file mode 100644
index 000000000..8425386a4
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/12.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_12 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = ';x';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/c/;x';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/13.php b/simplepie/test/absolutize/RFC3986.5.4/normal/13.php
new file mode 100644
index 000000000..8fc624930
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/13.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_13 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = 'g;x';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/c/g;x';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/14.php b/simplepie/test/absolutize/RFC3986.5.4/normal/14.php
new file mode 100644
index 000000000..bef64c3c2
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/14.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_14 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = 'g;x?y#s';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/c/g;x?y#s';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/15.php b/simplepie/test/absolutize/RFC3986.5.4/normal/15.php
new file mode 100644
index 000000000..d3af1a4e5
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/15.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_15 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = '';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/c/d;p?q';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/16.php b/simplepie/test/absolutize/RFC3986.5.4/normal/16.php
new file mode 100644
index 000000000..d511971e1
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/16.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_16 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = '.';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/c/';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/17.php b/simplepie/test/absolutize/RFC3986.5.4/normal/17.php
new file mode 100644
index 000000000..0c4581bcc
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/17.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_17 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = './';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/c/';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/18.php b/simplepie/test/absolutize/RFC3986.5.4/normal/18.php
new file mode 100644
index 000000000..8e25cc5d0
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/18.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_18 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = '..';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/19.php b/simplepie/test/absolutize/RFC3986.5.4/normal/19.php
new file mode 100644
index 000000000..53cd164d7
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/19.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_19 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = '../';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/2.php b/simplepie/test/absolutize/RFC3986.5.4/normal/2.php
new file mode 100644
index 000000000..c98f815e0
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/2.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_2 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = 'g';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/c/g';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/20.php b/simplepie/test/absolutize/RFC3986.5.4/normal/20.php
new file mode 100644
index 000000000..3a3348ad3
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/20.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_20 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = '../g';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/g';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/21.php b/simplepie/test/absolutize/RFC3986.5.4/normal/21.php
new file mode 100644
index 000000000..e6bd90001
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/21.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_21 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = '../..';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/22.php b/simplepie/test/absolutize/RFC3986.5.4/normal/22.php
new file mode 100644
index 000000000..0a6cf9732
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/22.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_22 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = '../../';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/23.php b/simplepie/test/absolutize/RFC3986.5.4/normal/23.php
new file mode 100644
index 000000000..fcd90f01e
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/23.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_23 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = '../../g';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/g';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/3.php b/simplepie/test/absolutize/RFC3986.5.4/normal/3.php
new file mode 100644
index 000000000..d5401736c
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/3.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_3 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = './g';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/c/g';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/4.php b/simplepie/test/absolutize/RFC3986.5.4/normal/4.php
new file mode 100644
index 000000000..9eff412aa
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/4.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_4 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = 'g/';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/c/g/';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/5.php b/simplepie/test/absolutize/RFC3986.5.4/normal/5.php
new file mode 100644
index 000000000..82681cb64
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/5.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_5 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = '/g';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/g';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/6.php b/simplepie/test/absolutize/RFC3986.5.4/normal/6.php
new file mode 100644
index 000000000..5aaef804b
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/6.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_6 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = '//g';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://g';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/7.php b/simplepie/test/absolutize/RFC3986.5.4/normal/7.php
new file mode 100644
index 000000000..e97ecd372
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/7.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_7 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = '?y';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/c/d;p?y';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/8.php b/simplepie/test/absolutize/RFC3986.5.4/normal/8.php
new file mode 100644
index 000000000..0ac6fe46c
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/8.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_8 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = 'g?y';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/c/g?y';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/9.php b/simplepie/test/absolutize/RFC3986.5.4/normal/9.php
new file mode 100644
index 000000000..d790df845
--- /dev/null
+++ b/simplepie/test/absolutize/RFC3986.5.4/normal/9.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Absolutize_Test_RFC3986_Normal_9 extends SimplePie_Absolutize_Test_RFC3986
+{
+ function data()
+ {
+ $this->data['relative'] = '#s';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://a/b/c/d;p?q#s';
+ }
+}
+
+?> \ No newline at end of file