diff options
Diffstat (limited to 'simplepie/test/first_item_date')
53 files changed, 0 insertions, 1180 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 deleted file mode 100644 index 11536de7b..000000000 --- a/simplepie/test/first_item_date/SPtests/atom/0.3/created.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index c0ef7e379..000000000 --- a/simplepie/test/first_item_date/SPtests/atom/0.3/dc/1.0/date.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index fe865c0b7..000000000 --- a/simplepie/test/first_item_date/SPtests/atom/0.3/dc/1.1/date.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index 003c60f6d..000000000 --- a/simplepie/test/first_item_date/SPtests/atom/0.3/issued.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index 3d52614e7..000000000 --- a/simplepie/test/first_item_date/SPtests/atom/0.3/modified.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index ae950d342..000000000 --- a/simplepie/test/first_item_date/SPtests/atom/1.0/dc/1.0/date.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index 12b2aff76..000000000 --- a/simplepie/test/first_item_date/SPtests/atom/1.0/dc/1.1/date.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index 2aa2311ee..000000000 --- a/simplepie/test/first_item_date/SPtests/atom/1.0/published.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index e94af475a..000000000 --- a/simplepie/test/first_item_date/SPtests/atom/1.0/updated.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index 8e01cdd00..000000000 --- a/simplepie/test/first_item_date/SPtests/bugs/876.0.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 46ecaa346..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.90/atom/0.3/created.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index 42c5f968c..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.90/atom/0.3/issued.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index 835cde9a4..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.90/atom/0.3/modified.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index 695911ac0..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.90/atom/1.0/published.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index dfc04231a..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.90/atom/1.0/updated.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index ef4dd3605..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.90/dc/1.0/date.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index f87766f55..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.90/dc/1.1/date.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index 641b8eb71..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/0.3/created.php +++ /dev/null @@ -1,24 +0,0 @@ -<?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 deleted file mode 100644 index 9d5068c44..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/0.3/issued.php +++ /dev/null @@ -1,24 +0,0 @@ -<?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 deleted file mode 100644 index 7e11d8bc1..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/0.3/modified.php +++ /dev/null @@ -1,24 +0,0 @@ -<?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 deleted file mode 100644 index 4de5d2aa7..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/1.0/published.php +++ /dev/null @@ -1,24 +0,0 @@ -<?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 deleted file mode 100644 index 21f48c0d2..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/atom/1.0/updated.php +++ /dev/null @@ -1,24 +0,0 @@ -<?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 deleted file mode 100644 index ab2eab16c..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/dc/1.0/date.php +++ /dev/null @@ -1,24 +0,0 @@ -<?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 deleted file mode 100644 index 777febe1b..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.91-netscape/dc/1.1/date.php +++ /dev/null @@ -1,24 +0,0 @@ -<?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 deleted file mode 100644 index d851d34ec..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/0.3/created.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index ed543b49b..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/0.3/issued.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index b85252295..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/0.3/modified.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 452dc2f90..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/published.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 14acc746f..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/updated.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 540704e5a..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.91-userland/dc/1.0/date.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 7d38369d6..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.91-userland/dc/1.1/date.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 1b2a87185..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/created.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index bf891fc8d..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/issued.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 652cdb883..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.92/atom/0.3/modified.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 544055779..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.92/atom/1.0/published.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 2c39fdf5b..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.92/atom/1.0/updated.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 3b76563e2..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.92/dc/1.0/date.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 466df4688..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/0.92/dc/1.1/date.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index b3f7db7e2..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/1.0/atom/0.3/created.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index 7d59d4d99..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/1.0/atom/0.3/issued.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index fa6b3a932..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/1.0/atom/0.3/modified.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index cc5bea3dc..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/1.0/atom/1.0/published.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index e578c58fd..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/1.0/atom/1.0/updated.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index 5d3e6170b..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/1.0/dc/1.0/date.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index d897a418c..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/1.0/dc/1.1/date.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index 27206e6c2..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/created.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index feb659ea7..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/issued.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 8636075f0..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/modified.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 6af2c9f10..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/2.0/atom/1.0/published.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 67fc954d0..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/2.0/atom/1.0/updated.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 2b7741f99..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/2.0/dc/1.0/date.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 658e140f3..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/2.0/dc/1.1/date.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 797b1a951..000000000 --- a/simplepie/test/first_item_date/SPtests/rss/2.0/pubdate.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 |