diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-05 03:34:42 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-05 03:34:42 -0700 |
commit | 9f7ae0e95f89b964a098eaacdfd89ff25e05c615 (patch) | |
tree | 0bfe8d04f4b11abdbea41fe9bf6e165eec8ebc4b /simplepie/test/date/SPtests/RFC2822/invalid | |
parent | f5826105bfc514599b2c5b6692bca14ca4bc5d78 (diff) | |
download | volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.gz volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.bz2 volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.zip |
Add simplepie
Diffstat (limited to 'simplepie/test/date/SPtests/RFC2822/invalid')
5 files changed, 80 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 |