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/first_item_date/SPtests | |
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/first_item_date/SPtests')
53 files changed, 1180 insertions, 0 deletions
diff --git a/simplepie/test/first_item_date/SPtests/atom/0.3/created.php b/simplepie/test/first_item_date/SPtests/atom/0.3/created.php new file mode 100644 index 000000000..11536de7b --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/atom/0.3/created.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_Atom_03_Created extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<feed version="0.3" xmlns="http://purl.org/atom/ns#"> + <entry> + <created>2007-01-11T16:00:00Z</created> + </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.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 diff --git a/simplepie/test/first_item_date/SPtests/atom/0.3/issued.php b/simplepie/test/first_item_date/SPtests/atom/0.3/issued.php new file mode 100644 index 000000000..003c60f6d --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/atom/0.3/issued.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_Atom_03_Issued extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<feed version="0.3" xmlns="http://purl.org/atom/ns#"> + <entry> + <issued>2007-01-11T16:00:00Z</issued> + </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/modified.php b/simplepie/test/first_item_date/SPtests/atom/0.3/modified.php new file mode 100644 index 000000000..3d52614e7 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/atom/0.3/modified.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_Atom_03_Modified extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<feed version="0.3" xmlns="http://purl.org/atom/ns#"> + <entry> + <modified>2007-01-11T16:00:00Z</modified> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/atom/1.0/dc/1.0/date.php b/simplepie/test/first_item_date/SPtests/atom/1.0/dc/1.0/date.php new file mode 100644 index 000000000..ae950d342 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/atom/1.0/dc/1.0/date.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_Atom_10_DC_10_Date extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom" 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/1.0/dc/1.1/date.php b/simplepie/test/first_item_date/SPtests/atom/1.0/dc/1.1/date.php new file mode 100644 index 000000000..12b2aff76 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/atom/1.0/dc/1.1/date.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_Atom_10_DC_11_Date extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom" 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 diff --git a/simplepie/test/first_item_date/SPtests/atom/1.0/published.php b/simplepie/test/first_item_date/SPtests/atom/1.0/published.php new file mode 100644 index 000000000..2aa2311ee --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/atom/1.0/published.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_Atom_10_Published extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom"> + <entry> + <published>2007-01-11T16:00:00Z</published> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/atom/1.0/updated.php b/simplepie/test/first_item_date/SPtests/atom/1.0/updated.php new file mode 100644 index 000000000..e94af475a --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/atom/1.0/updated.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_Atom_10_Updated extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom"> + <entry> + <updated>2007-01-11T16:00:00Z</updated> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/bugs/876.0.php b/simplepie/test/first_item_date/SPtests/bugs/876.0.php new file mode 100644 index 000000000..8e01cdd00 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/bugs/876.0.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_Bug_876_Test_0 extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="2.0"> + <channel> + <item> + <pubDate></pubDate> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = null; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.90/atom/0.3/created.php b/simplepie/test/first_item_date/SPtests/rss/0.90/atom/0.3/created.php new file mode 100644 index 000000000..46ecaa346 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.90/atom/0.3/created.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_090_Atom_03_Created 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:a="http://purl.org/atom/ns#"> + <item> + <a:created>2007-01-11T16:00:00Z</a:created> + </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/atom/0.3/issued.php b/simplepie/test/first_item_date/SPtests/rss/0.90/atom/0.3/issued.php new file mode 100644 index 000000000..42c5f968c --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.90/atom/0.3/issued.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_090_Atom_03_Issued 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:a="http://purl.org/atom/ns#"> + <item> + <a:issued>2007-01-11T16:00:00Z</a:issued> + </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/atom/0.3/modified.php b/simplepie/test/first_item_date/SPtests/rss/0.90/atom/0.3/modified.php new file mode 100644 index 000000000..835cde9a4 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.90/atom/0.3/modified.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_090_Atom_03_Modified 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:a="http://purl.org/atom/ns#"> + <item> + <a:modified>2007-01-11T16:00:00Z</a:modified> + </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/atom/1.0/published.php b/simplepie/test/first_item_date/SPtests/rss/0.90/atom/1.0/published.php new file mode 100644 index 000000000..695911ac0 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.90/atom/1.0/published.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_090_Atom_10_Published 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:a="http://www.w3.org/2005/Atom"> + <item> + <a:published>2007-01-11T16:00:00Z</a:published> + </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/atom/1.0/updated.php b/simplepie/test/first_item_date/SPtests/rss/0.90/atom/1.0/updated.php new file mode 100644 index 000000000..dfc04231a --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.90/atom/1.0/updated.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_090_Atom_10_Updated 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:a="http://www.w3.org/2005/Atom"> + <item> + <a:updated>2007-01-11T16:00:00Z</a:updated> + </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.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 diff --git a/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/0.3/created.php b/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/0.3/created.php new file mode 100644 index 000000000..641b8eb71 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/0.3/created.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_091_Netscape_Atom_03_Created extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:created>2007-01-11T16:00:00Z</a:created> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/0.3/issued.php b/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/0.3/issued.php new file mode 100644 index 000000000..9d5068c44 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/0.3/issued.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_091_Netscape_Atom_03_Issued extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:issued>2007-01-11T16:00:00Z</a:issued> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/0.3/modified.php b/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/0.3/modified.php new file mode 100644 index 000000000..7e11d8bc1 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/0.3/modified.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_091_Netscape_Atom_03_Modified extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:modified>2007-01-11T16:00:00Z</a:modified> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/1.0/published.php b/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/1.0/published.php new file mode 100644 index 000000000..4de5d2aa7 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/1.0/published.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_091_Netscape_Atom_10_Published extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <item> + <a:published>2007-01-11T16:00:00Z</a:published> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/1.0/updated.php b/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/1.0/updated.php new file mode 100644 index 000000000..21f48c0d2 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/1.0/updated.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_091_Netscape_Atom_10_Updated extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <item> + <a:updated>2007-01-11T16:00:00Z</a:updated> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/dc/1.0/date.php b/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/dc/1.0/date.php new file mode 100644 index 000000000..ab2eab16c --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/dc/1.0/date.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_091_Netscape_DC_10_Date extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <item> + <dc:date>2007-01-11T16:00:00Z</dc:date> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/dc/1.1/date.php b/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/dc/1.1/date.php new file mode 100644 index 000000000..777febe1b --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/dc/1.1/date.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_091_Netscape_DC_11_Date extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <item> + <dc:date>2007-01-11T16:00:00Z</dc:date> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/0.3/created.php b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/0.3/created.php new file mode 100644 index 000000000..d851d34ec --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/0.3/created.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_091_Userland_Atom_03_Created extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:created>2007-01-11T16:00:00Z</a:created> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/0.3/issued.php b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/0.3/issued.php new file mode 100644 index 000000000..ed543b49b --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/0.3/issued.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_091_Userland_Atom_03_Issued extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:issued>2007-01-11T16:00:00Z</a:issued> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/0.3/modified.php b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/0.3/modified.php new file mode 100644 index 000000000..b85252295 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/0.3/modified.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_091_Userland_Atom_03_Modified extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:modified>2007-01-11T16:00:00Z</a:modified> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/published.php b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/published.php new file mode 100644 index 000000000..452dc2f90 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/published.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_091_Userland_Atom_10_Published extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <item> + <a:published>2007-01-11T16:00:00Z</a:published> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/updated.php b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/updated.php new file mode 100644 index 000000000..14acc746f --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/updated.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_091_Userland_Atom_10_Updated extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <item> + <a:updated>2007-01-11T16:00:00Z</a:updated> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.91-userland/dc/1.0/date.php b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/dc/1.0/date.php new file mode 100644 index 000000000..540704e5a --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/dc/1.0/date.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_091_Userland_DC_10_Date extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <item> + <dc:date>2007-01-11T16:00:00Z</dc:date> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.91-userland/dc/1.1/date.php b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/dc/1.1/date.php new file mode 100644 index 000000000..7d38369d6 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.91-userland/dc/1.1/date.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_091_Userland_DC_11_Date extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <item> + <dc:date>2007-01-11T16:00:00Z</dc:date> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/created.php b/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/created.php new file mode 100644 index 000000000..1b2a87185 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/created.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_092_Atom_03_Created extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:created>2007-01-11T16:00:00Z</a:created> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/issued.php b/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/issued.php new file mode 100644 index 000000000..bf891fc8d --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/issued.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_092_Atom_03_Issued extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:issued>2007-01-11T16:00:00Z</a:issued> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/modified.php b/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/modified.php new file mode 100644 index 000000000..652cdb883 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/modified.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_092_Atom_03_Modified extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:modified>2007-01-11T16:00:00Z</a:modified> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.92/atom/1.0/published.php b/simplepie/test/first_item_date/SPtests/rss/0.92/atom/1.0/published.php new file mode 100644 index 000000000..544055779 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.92/atom/1.0/published.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_092_Atom_10_Published extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <item> + <a:published>2007-01-11T16:00:00Z</a:published> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.92/atom/1.0/updated.php b/simplepie/test/first_item_date/SPtests/rss/0.92/atom/1.0/updated.php new file mode 100644 index 000000000..2c39fdf5b --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.92/atom/1.0/updated.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_092_Atom_10_Updated extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <item> + <a:updated>2007-01-11T16:00:00Z</a:updated> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.92/dc/1.0/date.php b/simplepie/test/first_item_date/SPtests/rss/0.92/dc/1.0/date.php new file mode 100644 index 000000000..3b76563e2 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.92/dc/1.0/date.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_092_DC_10_Date extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <item> + <dc:date>2007-01-11T16:00:00Z</dc:date> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/0.92/dc/1.1/date.php b/simplepie/test/first_item_date/SPtests/rss/0.92/dc/1.1/date.php new file mode 100644 index 000000000..466df4688 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/0.92/dc/1.1/date.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_092_DC_11_Date extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <item> + <dc:date>2007-01-11T16:00:00Z</dc:date> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/1.0/atom/0.3/created.php b/simplepie/test/first_item_date/SPtests/rss/1.0/atom/0.3/created.php new file mode 100644 index 000000000..b3f7db7e2 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/1.0/atom/0.3/created.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_10_Atom_03_Created 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://purl.org/rss/1.0/" xmlns:a="http://purl.org/atom/ns#"> + <item> + <a:created>2007-01-11T16:00:00Z</a:created> + </item> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/1.0/atom/0.3/issued.php b/simplepie/test/first_item_date/SPtests/rss/1.0/atom/0.3/issued.php new file mode 100644 index 000000000..7d59d4d99 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/1.0/atom/0.3/issued.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_10_Atom_03_Issued 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://purl.org/rss/1.0/" xmlns:a="http://purl.org/atom/ns#"> + <item> + <a:issued>2007-01-11T16:00:00Z</a:issued> + </item> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/1.0/atom/0.3/modified.php b/simplepie/test/first_item_date/SPtests/rss/1.0/atom/0.3/modified.php new file mode 100644 index 000000000..fa6b3a932 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/1.0/atom/0.3/modified.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_10_Atom_03_Modified 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://purl.org/rss/1.0/" xmlns:a="http://purl.org/atom/ns#"> + <item> + <a:modified>2007-01-11T16:00:00Z</a:modified> + </item> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/1.0/atom/1.0/published.php b/simplepie/test/first_item_date/SPtests/rss/1.0/atom/1.0/published.php new file mode 100644 index 000000000..cc5bea3dc --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/1.0/atom/1.0/published.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_10_Atom_10_Published 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://purl.org/rss/1.0/" xmlns:a="http://www.w3.org/2005/Atom"> + <item> + <a:published>2007-01-11T16:00:00Z</a:published> + </item> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/1.0/atom/1.0/updated.php b/simplepie/test/first_item_date/SPtests/rss/1.0/atom/1.0/updated.php new file mode 100644 index 000000000..e578c58fd --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/1.0/atom/1.0/updated.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_10_Atom_10_Updated 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://purl.org/rss/1.0/" xmlns:a="http://www.w3.org/2005/Atom"> + <item> + <a:updated>2007-01-11T16:00:00Z</a:updated> + </item> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/1.0/dc/1.0/date.php b/simplepie/test/first_item_date/SPtests/rss/1.0/dc/1.0/date.php new file mode 100644 index 000000000..5d3e6170b --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/1.0/dc/1.0/date.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_10_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://purl.org/rss/1.0/" 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/1.0/dc/1.1/date.php b/simplepie/test/first_item_date/SPtests/rss/1.0/dc/1.1/date.php new file mode 100644 index 000000000..d897a418c --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/1.0/dc/1.1/date.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_10_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://purl.org/rss/1.0/" 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 diff --git a/simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/created.php b/simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/created.php new file mode 100644 index 000000000..27206e6c2 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/created.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_20_Atom_03_Created extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:created>2007-01-11T16:00:00Z</a:created> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/issued.php b/simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/issued.php new file mode 100644 index 000000000..feb659ea7 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/issued.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_20_Atom_03_Issued extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:issued>2007-01-11T16:00:00Z</a:issued> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/modified.php b/simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/modified.php new file mode 100644 index 000000000..8636075f0 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/modified.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_20_Atom_03_Modified extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:modified>2007-01-11T16:00:00Z</a:modified> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/2.0/atom/1.0/published.php b/simplepie/test/first_item_date/SPtests/rss/2.0/atom/1.0/published.php new file mode 100644 index 000000000..6af2c9f10 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/2.0/atom/1.0/published.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_20_Atom_10_Published extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <item> + <a:published>2007-01-11T16:00:00Z</a:published> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/2.0/atom/1.0/updated.php b/simplepie/test/first_item_date/SPtests/rss/2.0/atom/1.0/updated.php new file mode 100644 index 000000000..67fc954d0 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/2.0/atom/1.0/updated.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_20_Atom_10_Updated extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <item> + <a:updated>2007-01-11T16:00:00Z</a:updated> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/2.0/dc/1.0/date.php b/simplepie/test/first_item_date/SPtests/rss/2.0/dc/1.0/date.php new file mode 100644 index 000000000..2b7741f99 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/2.0/dc/1.0/date.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_20_DC_10_Date extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <item> + <dc:date>2007-01-11T16:00:00Z</dc:date> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/2.0/dc/1.1/date.php b/simplepie/test/first_item_date/SPtests/rss/2.0/dc/1.1/date.php new file mode 100644 index 000000000..658e140f3 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/2.0/dc/1.1/date.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_20_DC_11_Date extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <item> + <dc:date>2007-01-11T16:00:00Z</dc:date> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_date/SPtests/rss/2.0/pubdate.php b/simplepie/test/first_item_date/SPtests/rss/2.0/pubdate.php new file mode 100644 index 000000000..797b1a951 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/2.0/pubdate.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_20_pubDate extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="2.0"> + <channel> + <item> + <pubDate>2007-01-11T16:00:00Z</pubDate> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file |