diff options
Diffstat (limited to 'simplepie/test/first_item_date/SPtests/rss/0.90/dc')
-rw-r--r-- | simplepie/test/first_item_date/SPtests/rss/0.90/dc/1.0/date.php | 21 | ||||
-rw-r--r-- | simplepie/test/first_item_date/SPtests/rss/0.90/dc/1.1/date.php | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/simplepie/test/first_item_date/SPtests/rss/0.90/dc/1.0/date.php b/simplepie/test/first_item_date/SPtests/rss/0.90/dc/1.0/date.php new file mode 100644 index 000000000..ef4dd3605 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.90/dc/1.0/date.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_090_DC_10_Date extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://my.netscape.com/rdf/simple/0.9/" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <item> + <dc:date>2007-01-11T16:00:00Z</dc:date> + </item> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.90/dc/1.1/date.php b/simplepie/test/first_item_date/SPtests/rss/0.90/dc/1.1/date.php new file mode 100644 index 000000000..f87766f55 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.90/dc/1.1/date.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_090_DC_11_Date extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://my.netscape.com/rdf/simple/0.9/" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <item> + <dc:date>2007-01-11T16:00:00Z</dc:date> + </item> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file |