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