diff options
Diffstat (limited to 'simplepie/test/absolutize')
61 files changed, 0 insertions, 987 deletions
diff --git a/simplepie/test/absolutize/RFC3986.5.4/README b/simplepie/test/absolutize/RFC3986.5.4/README deleted file mode 100644 index 385dc74f8..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/README +++ /dev/null @@ -1 +0,0 @@ -The tests enclosed within come from RFC 3986 section 5.4 and all share the same base URL
\ No newline at end of file diff --git a/simplepie/test/absolutize/RFC3986.5.4/abnormal/1.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/1.php deleted file mode 100644 index f55e62d8b..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/1.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_1 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/abnormal/10.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/10.php deleted file mode 100644 index 668cda63c..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/10.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_10 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/abnormal/11.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/11.php deleted file mode 100644 index eda10a60b..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/11.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_11 extends SimplePie_Absolutize_Test_RFC3986 -{ - function data() - { - $this->data['relative'] = 'g/./h'; - } - - function expected() - { - $this->expected = 'http://a/b/c/g/h'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/RFC3986.5.4/abnormal/12.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/12.php deleted file mode 100644 index b66d71f60..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/12.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_12 extends SimplePie_Absolutize_Test_RFC3986 -{ - function data() - { - $this->data['relative'] = 'g/../h'; - } - - function expected() - { - $this->expected = 'http://a/b/c/h'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/RFC3986.5.4/abnormal/13.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/13.php deleted file mode 100644 index 06b5e326c..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/13.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_13 extends SimplePie_Absolutize_Test_RFC3986 -{ - function data() - { - $this->data['relative'] = 'g;x=1/./y'; - } - - function expected() - { - $this->expected = 'http://a/b/c/g;x=1/y'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/RFC3986.5.4/abnormal/14.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/14.php deleted file mode 100644 index 4a40af5ad..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/14.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_14 extends SimplePie_Absolutize_Test_RFC3986 -{ - function data() - { - $this->data['relative'] = 'g;x=1/../y'; - } - - function expected() - { - $this->expected = 'http://a/b/c/y'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/RFC3986.5.4/abnormal/15.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/15.php deleted file mode 100644 index bef790e70..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/15.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_15 extends SimplePie_Absolutize_Test_RFC3986 -{ - function data() - { - $this->data['relative'] = 'g?y/./x'; - } - - function expected() - { - $this->expected = 'http://a/b/c/g?y/./x'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/RFC3986.5.4/abnormal/16.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/16.php deleted file mode 100644 index 932cda4b5..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/16.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_16 extends SimplePie_Absolutize_Test_RFC3986 -{ - function data() - { - $this->data['relative'] = 'g?y/../x'; - } - - function expected() - { - $this->expected = 'http://a/b/c/g?y/../x'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/RFC3986.5.4/abnormal/17.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/17.php deleted file mode 100644 index 8d626b68f..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/17.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_17 extends SimplePie_Absolutize_Test_RFC3986 -{ - function data() - { - $this->data['relative'] = 'g#s/./x'; - } - - function expected() - { - $this->expected = 'http://a/b/c/g#s/./x'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/RFC3986.5.4/abnormal/18.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/18.php deleted file mode 100644 index 7a53018cf..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/18.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_18 extends SimplePie_Absolutize_Test_RFC3986 -{ - function data() - { - $this->data['relative'] = 'g#s/../x'; - } - - function expected() - { - $this->expected = 'http://a/b/c/g#s/../x'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/RFC3986.5.4/abnormal/19.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/19.php deleted file mode 100644 index 289c1abc2..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/19.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_19 extends SimplePie_Absolutize_Test_RFC3986 -{ - function data() - { - $this->data['relative'] = 'http:g'; - } - - function expected() - { - $this->expected = 'http:g'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/RFC3986.5.4/abnormal/2.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/2.php deleted file mode 100644 index 9a0534554..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/2.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_2 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/abnormal/3.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/3.php deleted file mode 100644 index f96f5468f..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/3.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_3 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/abnormal/4.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/4.php deleted file mode 100644 index 64e359fe6..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/4.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_4 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/abnormal/5.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/5.php deleted file mode 100644 index dfd8e42be..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/5.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_5 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/abnormal/6.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/6.php deleted file mode 100644 index 3125b0044..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/6.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_6 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/abnormal/7.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/7.php deleted file mode 100644 index 82f97b0ce..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/7.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_7 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/abnormal/8.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/8.php deleted file mode 100644 index 836ede076..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/8.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_8 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/abnormal/9.php b/simplepie/test/absolutize/RFC3986.5.4/abnormal/9.php deleted file mode 100644 index 4917d4ceb..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/abnormal/9.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_RFC3986_Abnormal_9 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/base.php b/simplepie/test/absolutize/RFC3986.5.4/base.php deleted file mode 100644 index 913aeec9d..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/base.php +++ /dev/null @@ -1,25 +0,0 @@ -<?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 diff --git a/simplepie/test/absolutize/RFC3986.5.4/normal/1.php b/simplepie/test/absolutize/RFC3986.5.4/normal/1.php deleted file mode 100644 index 0550ff030..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/1.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index 86eab935c..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/10.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index caa262bff..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/11.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index 8425386a4..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/12.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index 8fc624930..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/13.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index bef64c3c2..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/14.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index d3af1a4e5..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/15.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index d511971e1..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/16.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index 0c4581bcc..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/17.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index 8e25cc5d0..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/18.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index 53cd164d7..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/19.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index c98f815e0..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/2.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index 3a3348ad3..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/20.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index e6bd90001..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/21.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index 0a6cf9732..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/22.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index fcd90f01e..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/23.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index d5401736c..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/3.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index 9eff412aa..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/4.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index 82681cb64..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/5.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index 5aaef804b..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/6.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index e97ecd372..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/7.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index 0ac6fe46c..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/8.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 deleted file mode 100644 index d790df845..000000000 --- a/simplepie/test/absolutize/RFC3986.5.4/normal/9.php +++ /dev/null @@ -1,16 +0,0 @@ -<?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 diff --git a/simplepie/test/absolutize/SPtests/bugs/1091.0.1.php b/simplepie/test/absolutize/SPtests/bugs/1091.0.1.php deleted file mode 100644 index 5c781eeea..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/1091.0.1.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_1091_Test_0_1 extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'http://example.com'; - $this->data['relative'] = '//example.net'; - } - - function expected() - { - $this->expected = 'http://example.net'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/SPtests/bugs/1091.0.php b/simplepie/test/absolutize/SPtests/bugs/1091.0.php deleted file mode 100644 index a81eb060d..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/1091.0.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_1091_Test_0 extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'http:g'; - $this->data['relative'] = 'a'; - } - - function expected() - { - $this->expected = 'http:a'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/SPtests/bugs/274.0.php b/simplepie/test/absolutize/SPtests/bugs/274.0.php deleted file mode 100644 index 95bf7897c..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/274.0.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_274_Test_0 extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'http://a/b/'; - $this->data['relative'] = 'c'; - } - - function expected() - { - $this->expected = 'http://a/b/c'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/SPtests/bugs/274.1.php b/simplepie/test/absolutize/SPtests/bugs/274.1.php deleted file mode 100644 index 409b3feab..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/274.1.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_274_Test_1 extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'http://a/'; - $this->data['relative'] = 'b'; - } - - function expected() - { - $this->expected = 'http://a/b'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/SPtests/bugs/274.2.php b/simplepie/test/absolutize/SPtests/bugs/274.2.php deleted file mode 100644 index c3b159e98..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/274.2.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_274_Test_2 extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'http://a/'; - $this->data['relative'] = '/b'; - } - - function expected() - { - $this->expected = 'http://a/b'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/SPtests/bugs/274.3.php b/simplepie/test/absolutize/SPtests/bugs/274.3.php deleted file mode 100644 index 4b268e44f..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/274.3.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_274_Test_3 extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'http://a/b'; - $this->data['relative'] = 'c'; - } - - function expected() - { - $this->expected = 'http://a/c'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/SPtests/bugs/579.0.php b/simplepie/test/absolutize/SPtests/bugs/579.0.php deleted file mode 100644 index b899d973f..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/579.0.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_579_Test_0 extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'http://a/b/'; - $this->data['relative'] = "b\x0Ac"; - } - - function expected() - { - $this->expected = 'http://a/b/b%0Ac'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/SPtests/bugs/691.0.php b/simplepie/test/absolutize/SPtests/bugs/691.0.php deleted file mode 100644 index 1c268e65e..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/691.0.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_691_Test_0 extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'http://a/b/c'; - $this->data['relative'] = 'zero://a/b/c'; - } - - function expected() - { - $this->expected = 'zero://a/b/c'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/SPtests/bugs/691.1.php b/simplepie/test/absolutize/SPtests/bugs/691.1.php deleted file mode 100644 index af7d04194..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/691.1.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_691_Test_1 extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'http://a/b/c'; - $this->data['relative'] = '//0'; - } - - function expected() - { - $this->expected = 'http://0'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/SPtests/bugs/691.2.php b/simplepie/test/absolutize/SPtests/bugs/691.2.php deleted file mode 100644 index c3ce0855d..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/691.2.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_691_Test_2 extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'http://a/b/c'; - $this->data['relative'] = '0'; - } - - function expected() - { - $this->expected = 'http://a/b/0'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/SPtests/bugs/691.3.php b/simplepie/test/absolutize/SPtests/bugs/691.3.php deleted file mode 100644 index 2bfd95a1d..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/691.3.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_691_Test_3 extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'http://a/b/c'; - $this->data['relative'] = '?0'; - } - - function expected() - { - $this->expected = 'http://a/b/c?0'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/SPtests/bugs/691.4.php b/simplepie/test/absolutize/SPtests/bugs/691.4.php deleted file mode 100644 index 9c82198c6..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/691.4.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_691_Test_4 extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'http://a/b/c'; - $this->data['relative'] = '#0'; - } - - function expected() - { - $this->expected = 'http://a/b/c#0'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/SPtests/bugs/691.5.php b/simplepie/test/absolutize/SPtests/bugs/691.5.php deleted file mode 100644 index 10a93b95b..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/691.5.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_691_Test_5 extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'zero://a/b/c'; - $this->data['relative'] = 'd'; - } - - function expected() - { - $this->expected = 'zero://a/b/d'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/SPtests/bugs/691.6.php b/simplepie/test/absolutize/SPtests/bugs/691.6.php deleted file mode 100644 index 6a9ef397f..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/691.6.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_691_Test_6 extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'http://0/b/c'; - $this->data['relative'] = 'd'; - } - - function expected() - { - $this->expected = 'http://0/b/d'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/SPtests/bugs/691.7.php b/simplepie/test/absolutize/SPtests/bugs/691.7.php deleted file mode 100644 index ab51d7499..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/691.7.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_691_Test_7 extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'http://a/b/c?0'; - $this->data['relative'] = 'd'; - } - - function expected() - { - $this->expected = 'http://a/b/d'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/SPtests/bugs/691.8.php b/simplepie/test/absolutize/SPtests/bugs/691.8.php deleted file mode 100644 index 4c1ee0eb8..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/691.8.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_691_Test_8 extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'http://a/b/c#0'; - $this->data['relative'] = 'd'; - } - - function expected() - { - $this->expected = 'http://a/b/d'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/absolutize/SPtests/bugs/pct_encoding_invalid_second_char.php b/simplepie/test/absolutize/SPtests/bugs/pct_encoding_invalid_second_char.php deleted file mode 100644 index 75dc2bb10..000000000 --- a/simplepie/test/absolutize/SPtests/bugs/pct_encoding_invalid_second_char.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class SimplePie_Absolutize_Test_Bug_Pct_Encoding_Invalid_Second_Char extends SimplePie_Absolutize_Test -{ - function data() - { - $this->data['base'] = 'http://a/b/c/d'; - $this->data['relative'] = 'f%0o'; - } - - function expected() - { - $this->expected = 'http://a/b/c/f%250o'; - } -} - -?>
\ No newline at end of file |