aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_id/SPtests/rss/0.92
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/first_item_id/SPtests/rss/0.92')
-rw-r--r--simplepie/test/first_item_id/SPtests/rss/0.92/atom/0.3/id.php23
-rw-r--r--simplepie/test/first_item_id/SPtests/rss/0.92/atom/1.0/id.php23
-rw-r--r--simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.0/identifier.php23
-rw-r--r--simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.1/identifier.php23
4 files changed, 92 insertions, 0 deletions
diff --git a/simplepie/test/first_item_id/SPtests/rss/0.92/atom/0.3/id.php b/simplepie/test/first_item_id/SPtests/rss/0.92/atom/0.3/id.php
new file mode 100644
index 000000000..b8fefd284
--- /dev/null
+++ b/simplepie/test/first_item_id/SPtests/rss/0.92/atom/0.3/id.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_ID_Test_RSS_092_Atom_03_ID extends SimplePie_First_Item_ID_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:a="http://purl.org/atom/ns#">
+ <channel>
+ <item>
+ <a:id>http://example.com/</a:id>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://example.com/';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_id/SPtests/rss/0.92/atom/1.0/id.php b/simplepie/test/first_item_id/SPtests/rss/0.92/atom/1.0/id.php
new file mode 100644
index 000000000..2dd2ee2b1
--- /dev/null
+++ b/simplepie/test/first_item_id/SPtests/rss/0.92/atom/1.0/id.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_ID_Test_RSS_092_Atom_10_ID extends SimplePie_First_Item_ID_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <item>
+ <a:id>http://example.com/</a:id>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://example.com/';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.0/identifier.php b/simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.0/identifier.php
new file mode 100644
index 000000000..3d60d9a98
--- /dev/null
+++ b/simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.0/identifier.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_ID_Test_RSS_092_DC_10_Identifier extends SimplePie_First_Item_ID_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.0/">
+ <channel>
+ <item>
+ <dc:identifier>http://example.com/</dc:identifier>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://example.com/';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.1/identifier.php b/simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.1/identifier.php
new file mode 100644
index 000000000..fb6989a47
--- /dev/null
+++ b/simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.1/identifier.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_ID_Test_RSS_092_DC_11_Identifier extends SimplePie_First_Item_ID_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <channel>
+ <item>
+ <dc:identifier>http://example.com/</dc:identifier>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://example.com/';
+ }
+}
+
+?> \ No newline at end of file