diff options
Diffstat (limited to 'simplepie/test/first_item_date/SPtests/atom/0.3/dc')
-rw-r--r-- | simplepie/test/first_item_date/SPtests/atom/0.3/dc/1.0/date.php | 21 | ||||
-rw-r--r-- | simplepie/test/first_item_date/SPtests/atom/0.3/dc/1.1/date.php | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/simplepie/test/first_item_date/SPtests/atom/0.3/dc/1.0/date.php b/simplepie/test/first_item_date/SPtests/atom/0.3/dc/1.0/date.php new file mode 100644 index 000000000..c0ef7e379 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/atom/0.3/dc/1.0/date.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_Atom_03_DC_10_Date extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <entry> + <dc:date>2007-01-11T16:00:00Z</dc:date> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/atom/0.3/dc/1.1/date.php b/simplepie/test/first_item_date/SPtests/atom/0.3/dc/1.1/date.php new file mode 100644 index 000000000..fe865c0b7 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/atom/0.3/dc/1.1/date.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_Atom_03_DC_11_Date extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <entry> + <dc:date>2007-01-11T16:00:00Z</dc:date> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file |