diff options
Diffstat (limited to 'simplepie/test/date/SPtests/RFC2822')
49 files changed, 784 insertions, 0 deletions
diff --git a/simplepie/test/date/SPtests/RFC2822/invalid/four_digit_year.php b/simplepie/test/date/SPtests/RFC2822/invalid/four_digit_year.php new file mode 100644 index 000000000..b0208821f --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/invalid/full_name_of_day.php b/simplepie/test/date/SPtests/RFC2822/invalid/full_name_of_day.php new file mode 100644 index 000000000..9874d526f --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/invalid/invalid_day.php b/simplepie/test/date/SPtests/RFC2822/invalid/invalid_day.php new file mode 100644 index 000000000..0af95f3b6 --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/invalid/invalid_timezone.php b/simplepie/test/date/SPtests/RFC2822/invalid/invalid_timezone.php new file mode 100644 index 000000000..753633b3e --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/invalid/mismatch_name_of_day.php b/simplepie/test/date/SPtests/RFC2822/invalid/mismatch_name_of_day.php new file mode 100644 index 000000000..02054cdf6 --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/valid/1.php b/simplepie/test/date/SPtests/RFC2822/valid/1.php new file mode 100644 index 000000000..c8a65b628 --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/valid/10.php b/simplepie/test/date/SPtests/RFC2822/valid/10.php new file mode 100644 index 000000000..fbae6451d --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/valid/11.php b/simplepie/test/date/SPtests/RFC2822/valid/11.php new file mode 100644 index 000000000..635fe2a98 --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/valid/12.php b/simplepie/test/date/SPtests/RFC2822/valid/12.php new file mode 100644 index 000000000..7afa82e59 --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/valid/13.php b/simplepie/test/date/SPtests/RFC2822/valid/13.php new file mode 100644 index 000000000..dfdaa3466 --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/valid/14.php b/simplepie/test/date/SPtests/RFC2822/valid/14.php new file mode 100644 index 000000000..f45b660af --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/valid/15.php b/simplepie/test/date/SPtests/RFC2822/valid/15.php new file mode 100644 index 000000000..ecf32ebc6 --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/valid/16.php b/simplepie/test/date/SPtests/RFC2822/valid/16.php new file mode 100644 index 000000000..1defa0f56 --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/valid/17.php b/simplepie/test/date/SPtests/RFC2822/valid/17.php new file mode 100644 index 000000000..c14bc9e6e --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/valid/18.php b/simplepie/test/date/SPtests/RFC2822/valid/18.php new file mode 100644 index 000000000..1ef501662 --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/valid/19.php b/simplepie/test/date/SPtests/RFC2822/valid/19.php new file mode 100644 index 000000000..4cd090909 --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/valid/2.php b/simplepie/test/date/SPtests/RFC2822/valid/2.php new file mode 100644 index 000000000..c9f76e202 --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/valid/20.php b/simplepie/test/date/SPtests/RFC2822/valid/20.php new file mode 100644 index 000000000..b60f499dc --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/valid/21.php b/simplepie/test/date/SPtests/RFC2822/valid/21.php new file mode 100644 index 000000000..c689c547d --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/valid/22.php b/simplepie/test/date/SPtests/RFC2822/valid/22.php new file mode 100644 index 000000000..9dfb091b0 --- /dev/null +++ b/simplepie/test/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/simplepie/test/date/SPtests/RFC2822/valid/23.php b/simplepie/test/date/SPtests/RFC2822/valid/23.php new file mode 100644 index 000000000..7fb0c81c3 --- /dev/null +++ b/simplepie/test/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; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/24.php b/simplepie/test/date/SPtests/RFC2822/valid/24.php new file mode 100644 index 000000000..a90fe568f --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/24.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/25.php b/simplepie/test/date/SPtests/RFC2822/valid/25.php new file mode 100644 index 000000000..525440d45 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/25.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/26.php b/simplepie/test/date/SPtests/RFC2822/valid/26.php new file mode 100644 index 000000000..95a6475f8 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/26.php @@ -0,0 +1,16 @@ +<?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; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/27.php b/simplepie/test/date/SPtests/RFC2822/valid/27.php new file mode 100644 index 000000000..d13d39164 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/27.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_27 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 13:15:30 O'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/28.php b/simplepie/test/date/SPtests/RFC2822/valid/28.php new file mode 100644 index 000000000..9ef9d6c92 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/28.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_28 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 13:15:30 P'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/29.php b/simplepie/test/date/SPtests/RFC2822/valid/29.php new file mode 100644 index 000000000..8ef58be10 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/29.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_29 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 13:15:30 Q'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/3.php b/simplepie/test/date/SPtests/RFC2822/valid/3.php new file mode 100644 index 000000000..fcb29201f --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/3.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_3 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 5 Nov 94 13:15:30 GMT'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/30.php b/simplepie/test/date/SPtests/RFC2822/valid/30.php new file mode 100644 index 000000000..d28f23cd0 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/30.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_30 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 13:15:30 R'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/31.php b/simplepie/test/date/SPtests/RFC2822/valid/31.php new file mode 100644 index 000000000..af1f5adcc --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/31.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_31 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 13:15:30 S'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/32.php b/simplepie/test/date/SPtests/RFC2822/valid/32.php new file mode 100644 index 000000000..da2067903 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/32.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_32 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 13:15:30 T'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/33.php b/simplepie/test/date/SPtests/RFC2822/valid/33.php new file mode 100644 index 000000000..1c92362d4 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/33.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_33 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 13:15:30 U'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/34.php b/simplepie/test/date/SPtests/RFC2822/valid/34.php new file mode 100644 index 000000000..cf3ecb343 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/34.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_34 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 13:15:30 V'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/35.php b/simplepie/test/date/SPtests/RFC2822/valid/35.php new file mode 100644 index 000000000..900401323 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/35.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_35 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 13:15:30 W'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/36.php b/simplepie/test/date/SPtests/RFC2822/valid/36.php new file mode 100644 index 000000000..2f9c015bc --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/36.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_36 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 13:15:30 X'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/37.php b/simplepie/test/date/SPtests/RFC2822/valid/37.php new file mode 100644 index 000000000..a50940682 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/37.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_37 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 13:15:30 Y'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/38.php b/simplepie/test/date/SPtests/RFC2822/valid/38.php new file mode 100644 index 000000000..fc8a1d80c --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/38.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_38 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 13:15:30 Z'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/39.php b/simplepie/test/date/SPtests/RFC2822/valid/39.php new file mode 100644 index 000000000..975a348d8 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/39.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_39 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 13:15:30 +0000'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/4.php b/simplepie/test/date/SPtests/RFC2822/valid/4.php new file mode 100644 index 000000000..c6767f83c --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/4.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_4 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 13:15 GMT'; + } + + function expected() + { + $this->expected = 784041300; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/40.php b/simplepie/test/date/SPtests/RFC2822/valid/40.php new file mode 100644 index 000000000..78e5be9fb --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/40.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_40 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 13:15:30 -0000'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/41.php b/simplepie/test/date/SPtests/RFC2822/valid/41.php new file mode 100644 index 000000000..d5bdfe40b --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/41.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_41 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 14:15:30 +0100'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/42.php b/simplepie/test/date/SPtests/RFC2822/valid/42.php new file mode 100644 index 000000000..eeae5e18e --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/42.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_42 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 12:15:30 -0100'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/43.php b/simplepie/test/date/SPtests/RFC2822/valid/43.php new file mode 100644 index 000000000..f97a2f102 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/43.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_43 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri(day), 05 Nov(ember) 94 13:15:30 GMT'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/44.php b/simplepie/test/date/SPtests/RFC2822/valid/44.php new file mode 100644 index 000000000..d12b919b0 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/44.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_44 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri(day), 05 Nov(ember) 94 13:15:30 A'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/5.php b/simplepie/test/date/SPtests/RFC2822/valid/5.php new file mode 100644 index 000000000..cbb13360c --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/5.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_5 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 13:15:30 UT'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/6.php b/simplepie/test/date/SPtests/RFC2822/valid/6.php new file mode 100644 index 000000000..d89efb0eb --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/6.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_6 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 08:15:30 EST'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/7.php b/simplepie/test/date/SPtests/RFC2822/valid/7.php new file mode 100644 index 000000000..f6574c7c9 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/7.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_7 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 09:15:30 EDT'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/8.php b/simplepie/test/date/SPtests/RFC2822/valid/8.php new file mode 100644 index 000000000..2b6a1afa1 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/8.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_8 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 07:15:30 CST'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/SPtests/RFC2822/valid/9.php b/simplepie/test/date/SPtests/RFC2822/valid/9.php new file mode 100644 index 000000000..bfb5d37c8 --- /dev/null +++ b/simplepie/test/date/SPtests/RFC2822/valid/9.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_RFC2822_9 extends SimplePie_Date_Test +{ + function data() + { + $this->data = 'Fri, 05 Nov 94 08:15:30 CDT'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file |