aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.1/identifier.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.1/identifier.php')
-rw-r--r--simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.1/identifier.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.1/identifier.php b/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.1/identifier.php
new file mode 100644
index 000000000..be2907fcb
--- /dev/null
+++ b/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.1/identifier.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_ID_Test_RSS_10_DC_11_Identifier extends SimplePie_First_Item_ID_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:identifier>http://example.com/</dc:identifier>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'http://example.com/';
+ }
+}
+
+?> \ No newline at end of file