aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_date/SPtests/rss/0.91-userland
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/first_item_date/SPtests/rss/0.91-userland')
-rw-r--r--simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/0.3/created.php23
-rw-r--r--simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/0.3/issued.php23
-rw-r--r--simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/0.3/modified.php23
-rw-r--r--simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/published.php23
-rw-r--r--simplepie/test/first_item_date/SPtests/rss/0.91-userland/atom/1.0/updated.php23
-rw-r--r--simplepie/test/first_item_date/SPtests/rss/0.91-userland/dc/1.0/date.php23
-rw-r--r--simplepie/test/first_item_date/SPtests/rss/0.91-userland/dc/1.1/date.php23
7 files changed, 161 insertions, 0 deletions
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