Browse Source

no need for simplepie test suite

pull/1/head
Mike Macgirvin 11 years ago
parent
commit
3713a9291c
  1. 1
      simplepie/test/absolutize/RFC3986.5.4/README
  2. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/1.php
  3. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/10.php
  4. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/11.php
  5. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/12.php
  6. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/13.php
  7. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/14.php
  8. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/15.php
  9. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/16.php
  10. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/17.php
  11. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/18.php
  12. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/19.php
  13. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/2.php
  14. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/3.php
  15. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/4.php
  16. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/5.php
  17. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/6.php
  18. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/7.php
  19. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/8.php
  20. 16
      simplepie/test/absolutize/RFC3986.5.4/abnormal/9.php
  21. 25
      simplepie/test/absolutize/RFC3986.5.4/base.php
  22. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/1.php
  23. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/10.php
  24. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/11.php
  25. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/12.php
  26. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/13.php
  27. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/14.php
  28. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/15.php
  29. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/16.php
  30. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/17.php
  31. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/18.php
  32. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/19.php
  33. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/2.php
  34. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/20.php
  35. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/21.php
  36. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/22.php
  37. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/23.php
  38. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/3.php
  39. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/4.php
  40. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/5.php
  41. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/6.php
  42. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/7.php
  43. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/8.php
  44. 16
      simplepie/test/absolutize/RFC3986.5.4/normal/9.php
  45. 17
      simplepie/test/absolutize/SPtests/bugs/1091.0.1.php
  46. 17
      simplepie/test/absolutize/SPtests/bugs/1091.0.php
  47. 17
      simplepie/test/absolutize/SPtests/bugs/274.0.php
  48. 17
      simplepie/test/absolutize/SPtests/bugs/274.1.php
  49. 17
      simplepie/test/absolutize/SPtests/bugs/274.2.php
  50. 17
      simplepie/test/absolutize/SPtests/bugs/274.3.php
  51. 17
      simplepie/test/absolutize/SPtests/bugs/579.0.php
  52. 17
      simplepie/test/absolutize/SPtests/bugs/691.0.php
  53. 17
      simplepie/test/absolutize/SPtests/bugs/691.1.php
  54. 17
      simplepie/test/absolutize/SPtests/bugs/691.2.php
  55. 17
      simplepie/test/absolutize/SPtests/bugs/691.3.php
  56. 17
      simplepie/test/absolutize/SPtests/bugs/691.4.php
  57. 17
      simplepie/test/absolutize/SPtests/bugs/691.5.php
  58. 17
      simplepie/test/absolutize/SPtests/bugs/691.6.php
  59. 17
      simplepie/test/absolutize/SPtests/bugs/691.7.php
  60. 17
      simplepie/test/absolutize/SPtests/bugs/691.8.php
  61. 17
      simplepie/test/absolutize/SPtests/bugs/pct_encoding_invalid_second_char.php
  62. BIN
      simplepie/test/background.gif
  63. 16
      simplepie/test/date/RFC3339/1.php
  64. 16
      simplepie/test/date/RFC3339/2.php
  65. 16
      simplepie/test/date/RFC3339/3.php
  66. 1
      simplepie/test/date/RFC3339/README
  67. 16
      simplepie/test/date/SPtests/RFC2822/invalid/four_digit_year.php
  68. 16
      simplepie/test/date/SPtests/RFC2822/invalid/full_name_of_day.php
  69. 16
      simplepie/test/date/SPtests/RFC2822/invalid/invalid_day.php
  70. 16
      simplepie/test/date/SPtests/RFC2822/invalid/invalid_timezone.php
  71. 16
      simplepie/test/date/SPtests/RFC2822/invalid/mismatch_name_of_day.php
  72. 16
      simplepie/test/date/SPtests/RFC2822/valid/1.php
  73. 16
      simplepie/test/date/SPtests/RFC2822/valid/10.php
  74. 16
      simplepie/test/date/SPtests/RFC2822/valid/11.php
  75. 16
      simplepie/test/date/SPtests/RFC2822/valid/12.php
  76. 16
      simplepie/test/date/SPtests/RFC2822/valid/13.php
  77. 16
      simplepie/test/date/SPtests/RFC2822/valid/14.php
  78. 16
      simplepie/test/date/SPtests/RFC2822/valid/15.php
  79. 16
      simplepie/test/date/SPtests/RFC2822/valid/16.php
  80. 16
      simplepie/test/date/SPtests/RFC2822/valid/17.php
  81. 16
      simplepie/test/date/SPtests/RFC2822/valid/18.php
  82. 16
      simplepie/test/date/SPtests/RFC2822/valid/19.php
  83. 16
      simplepie/test/date/SPtests/RFC2822/valid/2.php
  84. 16
      simplepie/test/date/SPtests/RFC2822/valid/20.php
  85. 16
      simplepie/test/date/SPtests/RFC2822/valid/21.php
  86. 16
      simplepie/test/date/SPtests/RFC2822/valid/22.php
  87. 16
      simplepie/test/date/SPtests/RFC2822/valid/23.php
  88. 16
      simplepie/test/date/SPtests/RFC2822/valid/24.php
  89. 16
      simplepie/test/date/SPtests/RFC2822/valid/25.php
  90. 16
      simplepie/test/date/SPtests/RFC2822/valid/26.php
  91. 16
      simplepie/test/date/SPtests/RFC2822/valid/27.php
  92. 16
      simplepie/test/date/SPtests/RFC2822/valid/28.php
  93. 16
      simplepie/test/date/SPtests/RFC2822/valid/29.php
  94. 16
      simplepie/test/date/SPtests/RFC2822/valid/3.php
  95. 16
      simplepie/test/date/SPtests/RFC2822/valid/30.php
  96. 16
      simplepie/test/date/SPtests/RFC2822/valid/31.php
  97. 16
      simplepie/test/date/SPtests/RFC2822/valid/32.php
  98. 16
      simplepie/test/date/SPtests/RFC2822/valid/33.php
  99. 16
      simplepie/test/date/SPtests/RFC2822/valid/34.php
  100. 16
      simplepie/test/date/SPtests/RFC2822/valid/35.php

1
simplepie/test/absolutize/RFC3986.5.4/README

@ -1 +0,0 @@
The tests enclosed within come from RFC 3986 section 5.4 and all share the same base URL

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/1.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/10.php

@ -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/';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/11.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/12.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/13.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/14.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/15.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/16.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/17.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/18.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/19.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/2.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/3.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/4.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/5.php

@ -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.';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/6.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/7.php

@ -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..';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/8.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/abnormal/9.php

@ -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';
}
}
?>

25
simplepie/test/absolutize/RFC3986.5.4/base.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/1.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/10.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/11.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/12.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/13.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/14.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/15.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/16.php

@ -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/';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/17.php

@ -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/';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/18.php

@ -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/';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/19.php

@ -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/';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/2.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/20.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/21.php

@ -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/';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/22.php

@ -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/';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/23.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/3.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/4.php

@ -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/';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/5.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/6.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/7.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/8.php

@ -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';
}
}
?>

16
simplepie/test/absolutize/RFC3986.5.4/normal/9.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/1091.0.1.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/1091.0.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/274.0.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/274.1.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/274.2.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/274.3.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/579.0.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/691.0.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/691.1.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/691.2.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/691.3.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/691.4.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/691.5.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/691.6.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/691.7.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/691.8.php

@ -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';
}
}
?>

17
simplepie/test/absolutize/SPtests/bugs/pct_encoding_invalid_second_char.php

@ -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';
}
}
?>

BIN
simplepie/test/background.gif

Before

Width: 304  |  Height: 286  |  Size: 4.4 KiB

16
simplepie/test/date/RFC3339/1.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC3339_1 extends SimplePie_Date_Test
{
function data()
{
$this->data = '1985-04-12T23:20:50.52Z';
}
function expected()
{
$this->expected = 482196051;
}
}
?>

16
simplepie/test/date/RFC3339/2.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC3339_2 extends SimplePie_Date_Test
{
function data()
{
$this->data = '1996-12-19T16:39:57-08:00';
}
function expected()
{
$this->expected = 851042397;
}
}
?>

16
simplepie/test/date/RFC3339/3.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC3339_3 extends SimplePie_Date_Test
{
function data()
{
$this->data = '1996-12-20T00:39:57Z';
}
function expected()
{
$this->expected = 851042397;
}
}
?>

1
simplepie/test/date/RFC3339/README

@ -1 +0,0 @@
The tests enclosed within come from RFC 3339 section 5.8

16
simplepie/test/date/SPtests/RFC2822/invalid/four_digit_year.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_Four_Digit_Year extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 1994 13:15:30 GMT';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/invalid/full_name_of_day.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_Full_Name_Of_Day extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Friday, 05 Nov 94 13:15:30 GMT';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/invalid/invalid_day.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_Invalid_Day extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Vendredi, 05 Nov 94 13:15:30 GMT';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/invalid/invalid_timezone.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_Invalid_Timezone extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 13:15:30 UTC';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/invalid/mismatch_name_of_day.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_Mismatch_Name_Of_Day extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Mon, 05 Nov 94 13:15:30 GMT';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/1.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_1 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 13:15:30 GMT';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/10.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_10 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 06:15:30 MST';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/11.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_11 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 07:15:30 MDT';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/12.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_12 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 05:15:30 PST';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/13.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_13 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 06:15:30 PDT';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/14.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_14 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 13:15:30 A';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/15.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_15 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 13:15:30 B';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/16.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_16 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 13:15:30 C';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/17.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_17 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 13:15:30 D';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/18.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_18 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 13:15:30 E';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/19.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_19 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 13:15:30 F';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/2.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_2 extends SimplePie_Date_Test
{
function data()
{
$this->data = '05 Nov 94 13:15:30 GMT';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/20.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_20 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 13:15:30 G';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/21.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_21 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 13:15:30 H';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/22.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_22 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 13:15:30 I';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/23.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_23 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 13:15:30 K';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/24.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_24 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 13:15:30 L';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/25.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_25 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 13:15:30 M';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/26.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_26 extends SimplePie_Date_Test
{
function data()
{
$this->data = 'Fri, 05 Nov 94 13:15:30 N';
}
function expected()
{
$this->expected = 784041330;
}
}
?>

16
simplepie/test/date/SPtests/RFC2822/valid/27.php

@ -1,16 +0,0 @@
<?php
class SimplePie_Date_Test_RFC2822_27 extends SimplePie_Date_Test