diff options
Diffstat (limited to '3rdparty/simplepie/tests/oldtests/date/SPtests')
51 files changed, 816 insertions, 0 deletions
diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/invalid/four_digit_year.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/invalid/four_digit_year.php new file mode 100644 index 000000000..b0208821f --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/invalid/four_digit_year.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/invalid/full_name_of_day.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/invalid/full_name_of_day.php new file mode 100644 index 000000000..9874d526f --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/invalid/full_name_of_day.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/invalid/invalid_day.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/invalid/invalid_day.php new file mode 100644 index 000000000..0af95f3b6 --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/invalid/invalid_day.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/invalid/invalid_timezone.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/invalid/invalid_timezone.php new file mode 100644 index 000000000..753633b3e --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/invalid/invalid_timezone.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/invalid/mismatch_name_of_day.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/invalid/mismatch_name_of_day.php new file mode 100644 index 000000000..02054cdf6 --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/invalid/mismatch_name_of_day.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/1.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/1.php new file mode 100644 index 000000000..c8a65b628 --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/1.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/10.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/10.php new file mode 100644 index 000000000..fbae6451d --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/10.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/11.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/11.php new file mode 100644 index 000000000..635fe2a98 --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/11.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/12.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/12.php new file mode 100644 index 000000000..7afa82e59 --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/12.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/13.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/13.php new file mode 100644 index 000000000..dfdaa3466 --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/13.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/14.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/14.php new file mode 100644 index 000000000..f45b660af --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/14.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/15.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/15.php new file mode 100644 index 000000000..ecf32ebc6 --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/15.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/16.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/16.php new file mode 100644 index 000000000..1defa0f56 --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/16.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/17.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/17.php new file mode 100644 index 000000000..c14bc9e6e --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/17.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/18.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/18.php new file mode 100644 index 000000000..1ef501662 --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/18.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/19.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/19.php new file mode 100644 index 000000000..4cd090909 --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/19.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/2.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/2.php new file mode 100644 index 000000000..c9f76e202 --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/2.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/20.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/20.php new file mode 100644 index 000000000..b60f499dc --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/20.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/21.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/21.php new file mode 100644 index 000000000..c689c547d --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/21.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/22.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/22.php new file mode 100644 index 000000000..9dfb091b0 --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/22.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/23.php b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/23.php new file mode 100644 index 000000000..7fb0c81c3 --- /dev/null +++ b/3rdparty/simplepie/tests/oldtests/date/SPtests/RFC2822/valid/23.php @@ -0,0 +1,16 @@ +<?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; |