aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_description
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/first_item_description')
-rw-r--r--simplepie/test/first_item_description/SPtests/atom/0.3/content.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/atom/0.3/dc/1.0/description.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/atom/0.3/dc/1.1/description.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/atom/0.3/summary.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/atom/1.0/content.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/atom/1.0/dc/1.0/description.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/atom/1.0/dc/1.1/description.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/atom/1.0/summary.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.90/atom/0.3/content.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.90/atom/0.3/summary.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.90/atom/1.0/content.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.90/atom/1.0/summary.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.90/dc/1.0/description.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.90/dc/1.1/description.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.90/description.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.91-netscape/atom/0.3/content.php24
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.91-netscape/atom/0.3/summary.php24
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.91-netscape/atom/1.0/content.php24
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.91-netscape/atom/1.0/summary.php24
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.91-netscape/dc/1.0/description.php24
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.91-netscape/dc/1.1/description.php24
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.91-netscape/description.php24
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.91-userland/atom/0.3/content.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.91-userland/atom/0.3/summary.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.91-userland/atom/1.0/content.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.91-userland/atom/1.0/summary.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.91-userland/dc/1.0/description.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.91-userland/dc/1.1/description.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.91-userland/description.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.92/atom/0.3/content.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.92/atom/0.3/summary.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.92/atom/1.0/content.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.92/atom/1.0/summary.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.92/dc/1.0/description.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.92/dc/1.1/description.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/0.92/description.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/1.0/atom/0.3/content.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/1.0/atom/0.3/summary.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/1.0/atom/1.0/content.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/1.0/atom/1.0/summary.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/1.0/dc/1.0/description.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/1.0/dc/1.1/description.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/1.0/description.php21
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/2.0/atom/0.3/content.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/2.0/atom/0.3/summary.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0/content.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0/summary.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/2.0/dc/1.0/description.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/2.0/dc/1.1/description.php23
-rw-r--r--simplepie/test/first_item_description/SPtests/rss/2.0/description.php23
50 files changed, 1113 insertions, 0 deletions
diff --git a/simplepie/test/first_item_description/SPtests/atom/0.3/content.php b/simplepie/test/first_item_description/SPtests/atom/0.3/content.php
new file mode 100644
index 000000000..9ac11e32a
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/atom/0.3/content.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_Atom_03_Content extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<feed version="0.3" xmlns="http://purl.org/atom/ns#">
+ <entry>
+ <content>Item Description</content>
+ </entry>
+</feed>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/atom/0.3/dc/1.0/description.php b/simplepie/test/first_item_description/SPtests/atom/0.3/dc/1.0/description.php
new file mode 100644
index 000000000..e02d402c8
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/atom/0.3/dc/1.0/description.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_Atom_03_DC_10_Description extends SimplePie_First_Item_Description_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:description>Item Description</dc:description>
+ </entry>
+</feed>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/atom/0.3/dc/1.1/description.php b/simplepie/test/first_item_description/SPtests/atom/0.3/dc/1.1/description.php
new file mode 100644
index 000000000..cdc8b2154
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/atom/0.3/dc/1.1/description.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_Atom_03_DC_11_Description extends SimplePie_First_Item_Description_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:description>Item Description</dc:description>
+ </entry>
+</feed>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/atom/0.3/summary.php b/simplepie/test/first_item_description/SPtests/atom/0.3/summary.php
new file mode 100644
index 000000000..6db7f6b50
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/atom/0.3/summary.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_Atom_03_Summary extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<feed version="0.3" xmlns="http://purl.org/atom/ns#">
+ <entry>
+ <summary>Item Description</summary>
+ </entry>
+</feed>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/atom/1.0/content.php b/simplepie/test/first_item_description/SPtests/atom/1.0/content.php
new file mode 100644
index 000000000..4a3140209
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/atom/1.0/content.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_Atom_10_Content extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<feed xmlns="http://www.w3.org/2005/Atom">
+ <entry>
+ <content>Item Description</content>
+ </entry>
+</feed>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/atom/1.0/dc/1.0/description.php b/simplepie/test/first_item_description/SPtests/atom/1.0/dc/1.0/description.php
new file mode 100644
index 000000000..3bed47f97
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/atom/1.0/dc/1.0/description.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_Atom_10_DC_10_Description extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.0/">
+ <entry>
+ <dc:description>Item Description</dc:description>
+ </entry>
+</feed>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/atom/1.0/dc/1.1/description.php b/simplepie/test/first_item_description/SPtests/atom/1.0/dc/1.1/description.php
new file mode 100644
index 000000000..8c2ce46b0
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/atom/1.0/dc/1.1/description.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_Atom_10_DC_11_Description extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <entry>
+ <dc:description>Item Description</dc:description>
+ </entry>
+</feed>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/atom/1.0/summary.php b/simplepie/test/first_item_description/SPtests/atom/1.0/summary.php
new file mode 100644
index 000000000..1c08a0687
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/atom/1.0/summary.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_Atom_10_Summary extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<feed xmlns="http://www.w3.org/2005/Atom">
+ <entry>
+ <summary>Item Description</summary>
+ </entry>
+</feed>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.90/atom/0.3/content.php b/simplepie/test/first_item_description/SPtests/rss/0.90/atom/0.3/content.php
new file mode 100644
index 000000000..e4a5a43f5
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.90/atom/0.3/content.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_090_Atom_03_Content extends SimplePie_First_Item_Description_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:content>Item Description</a:content>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.90/atom/0.3/summary.php b/simplepie/test/first_item_description/SPtests/rss/0.90/atom/0.3/summary.php
new file mode 100644
index 000000000..b24991f12
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.90/atom/0.3/summary.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_090_Atom_03_Summary extends SimplePie_First_Item_Description_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:summary>Item Description</a:summary>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.90/atom/1.0/content.php b/simplepie/test/first_item_description/SPtests/rss/0.90/atom/1.0/content.php
new file mode 100644
index 000000000..2ed702431
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.90/atom/1.0/content.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_090_Atom_10_Content extends SimplePie_First_Item_Description_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:content>Item Description</a:content>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.90/atom/1.0/summary.php b/simplepie/test/first_item_description/SPtests/rss/0.90/atom/1.0/summary.php
new file mode 100644
index 000000000..68a7dcc59
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.90/atom/1.0/summary.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_090_Atom_10_Summary extends SimplePie_First_Item_Description_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:summary>Item Description</a:summary>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.90/dc/1.0/description.php b/simplepie/test/first_item_description/SPtests/rss/0.90/dc/1.0/description.php
new file mode 100644
index 000000000..dfdcd5722
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.90/dc/1.0/description.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_090_DC_10_Description extends SimplePie_First_Item_Description_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:description>Item Description</dc:description>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.90/dc/1.1/description.php b/simplepie/test/first_item_description/SPtests/rss/0.90/dc/1.1/description.php
new file mode 100644
index 000000000..53e050510
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.90/dc/1.1/description.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_090_DC_11_Description extends SimplePie_First_Item_Description_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:description>Item Description</dc:description>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.90/description.php b/simplepie/test/first_item_description/SPtests/rss/0.90/description.php
new file mode 100644
index 000000000..2acaa7f0f
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.90/description.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_090_Description extends SimplePie_First_Item_Description_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/">
+ <item>
+ <description>Item Description</description>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = NULL;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/atom/0.3/content.php b/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/atom/0.3/content.php
new file mode 100644
index 000000000..f7fd15262
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/atom/0.3/content.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_091_Netscape_Atom_03_Content extends SimplePie_First_Item_Description_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:content>Item Description</a:content>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/atom/0.3/summary.php b/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/atom/0.3/summary.php
new file mode 100644
index 000000000..d839aa9e1
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/atom/0.3/summary.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_091_Netscape_Atom_03_Summary extends SimplePie_First_Item_Description_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:summary>Item Description</a:summary>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/atom/1.0/content.php b/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/atom/1.0/content.php
new file mode 100644
index 000000000..f182dfc66
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/atom/1.0/content.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_091_Netscape_Atom_10_Content extends SimplePie_First_Item_Description_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:content>Item Description</a:content>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/atom/1.0/summary.php b/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/atom/1.0/summary.php
new file mode 100644
index 000000000..5e5f2a8a5
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/atom/1.0/summary.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_091_Netscape_Atom_10_Summary extends SimplePie_First_Item_Description_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:summary>Item Description</a:summary>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/dc/1.0/description.php b/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/dc/1.0/description.php
new file mode 100644
index 000000000..216cb39c0
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/dc/1.0/description.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_091_Netscape_DC_10_Description extends SimplePie_First_Item_Description_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:description>Item Description</dc:description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/dc/1.1/description.php b/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/dc/1.1/description.php
new file mode 100644
index 000000000..e706be1ff
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/dc/1.1/description.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_091_Netscape_DC_11_Description extends SimplePie_First_Item_Description_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:description>Item Description</dc:description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/description.php b/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/description.php
new file mode 100644
index 000000000..8886ac35b
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.91-netscape/description.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_091_Netscape_Description extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd">
+<rss version="0.91">
+ <channel>
+ <item>
+ <description>Item Description</description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.91-userland/atom/0.3/content.php b/simplepie/test/first_item_description/SPtests/rss/0.91-userland/atom/0.3/content.php
new file mode 100644
index 000000000..0a0301887
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.91-userland/atom/0.3/content.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_091_Userland_Atom_03_Content extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:a="http://purl.org/atom/ns#">
+ <channel>
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.91-userland/atom/0.3/summary.php b/simplepie/test/first_item_description/SPtests/rss/0.91-userland/atom/0.3/summary.php
new file mode 100644
index 000000000..a0a9e6f34
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.91-userland/atom/0.3/summary.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_091_Userland_Atom_03_Summary extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:a="http://purl.org/atom/ns#">
+ <channel>
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.91-userland/atom/1.0/content.php b/simplepie/test/first_item_description/SPtests/rss/0.91-userland/atom/1.0/content.php
new file mode 100644
index 000000000..c3eae044a
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.91-userland/atom/1.0/content.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_091_Userland_Atom_10_Content extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.91-userland/atom/1.0/summary.php b/simplepie/test/first_item_description/SPtests/rss/0.91-userland/atom/1.0/summary.php
new file mode 100644
index 000000000..27b66ce70
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.91-userland/atom/1.0/summary.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_091_Userland_Atom_10_Summary extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.91-userland/dc/1.0/description.php b/simplepie/test/first_item_description/SPtests/rss/0.91-userland/dc/1.0/description.php
new file mode 100644
index 000000000..d25e0cd61
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.91-userland/dc/1.0/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_091_Userland_DC_10_Description extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.0/">
+ <channel>
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.91-userland/dc/1.1/description.php b/simplepie/test/first_item_description/SPtests/rss/0.91-userland/dc/1.1/description.php
new file mode 100644
index 000000000..8fb97cf71
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.91-userland/dc/1.1/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_091_Userland_DC_11_Description extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <channel>
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.91-userland/description.php b/simplepie/test/first_item_description/SPtests/rss/0.91-userland/description.php
new file mode 100644
index 000000000..f01c5ff5c
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.91-userland/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_091_Userland_Description extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91">
+ <channel>
+ <item>
+ <description>Item Description</description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.92/atom/0.3/content.php b/simplepie/test/first_item_description/SPtests/rss/0.92/atom/0.3/content.php
new file mode 100644
index 000000000..c906a96a7
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.92/atom/0.3/content.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_092_Atom_03_Content extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:a="http://purl.org/atom/ns#">
+ <channel>
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.92/atom/0.3/summary.php b/simplepie/test/first_item_description/SPtests/rss/0.92/atom/0.3/summary.php
new file mode 100644
index 000000000..da2a88f70
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.92/atom/0.3/summary.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_092_Atom_03_Summary extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:a="http://purl.org/atom/ns#">
+ <channel>
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.92/atom/1.0/content.php b/simplepie/test/first_item_description/SPtests/rss/0.92/atom/1.0/content.php
new file mode 100644
index 000000000..d245f0037
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.92/atom/1.0/content.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_092_Atom_10_Content extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.92/atom/1.0/summary.php b/simplepie/test/first_item_description/SPtests/rss/0.92/atom/1.0/summary.php
new file mode 100644
index 000000000..9ea440e87
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.92/atom/1.0/summary.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_092_Atom_10_Summary extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.92/dc/1.0/description.php b/simplepie/test/first_item_description/SPtests/rss/0.92/dc/1.0/description.php
new file mode 100644
index 000000000..09a9f6027
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.92/dc/1.0/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_092_DC_10_Description extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.0/">
+ <channel>
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.92/dc/1.1/description.php b/simplepie/test/first_item_description/SPtests/rss/0.92/dc/1.1/description.php
new file mode 100644
index 000000000..56e1f8351
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.92/dc/1.1/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_092_DC_11_Description extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <channel>
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/0.92/description.php b/simplepie/test/first_item_description/SPtests/rss/0.92/description.php
new file mode 100644
index 000000000..76d7a0222
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/0.92/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_092_Description extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92">
+ <channel>
+ <item>
+ <description>Item Description</description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/1.0/atom/0.3/content.php b/simplepie/test/first_item_description/SPtests/rss/1.0/atom/0.3/content.php
new file mode 100644
index 000000000..e3f5cb7bf
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/1.0/atom/0.3/content.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_10_Atom_03_Content extends SimplePie_First_Item_Description_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:content>Item Description</a:content>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/1.0/atom/0.3/summary.php b/simplepie/test/first_item_description/SPtests/rss/1.0/atom/0.3/summary.php
new file mode 100644
index 000000000..f920bc9a5
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/1.0/atom/0.3/summary.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_10_Atom_03_Summary extends SimplePie_First_Item_Description_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:summary>Item Description</a:summary>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/1.0/atom/1.0/content.php b/simplepie/test/first_item_description/SPtests/rss/1.0/atom/1.0/content.php
new file mode 100644
index 000000000..1a68571d4
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/1.0/atom/1.0/content.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_10_Atom_10_Content extends SimplePie_First_Item_Description_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:content>Item Description</a:content>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/1.0/atom/1.0/summary.php b/simplepie/test/first_item_description/SPtests/rss/1.0/atom/1.0/summary.php
new file mode 100644
index 000000000..3e9190464
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/1.0/atom/1.0/summary.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_10_Atom_10_Summary extends SimplePie_First_Item_Description_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:summary>Item Description</a:summary>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/1.0/dc/1.0/description.php b/simplepie/test/first_item_description/SPtests/rss/1.0/dc/1.0/description.php
new file mode 100644
index 000000000..187d4f11e
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/1.0/dc/1.0/description.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_10_DC_10_Description extends SimplePie_First_Item_Description_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:description>Item Description</dc:description>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/1.0/dc/1.1/description.php b/simplepie/test/first_item_description/SPtests/rss/1.0/dc/1.1/description.php
new file mode 100644
index 000000000..487cf5cc3
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/1.0/dc/1.1/description.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_10_DC_11_Description extends SimplePie_First_Item_Description_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:description>Item Description</dc:description>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/1.0/description.php b/simplepie/test/first_item_description/SPtests/rss/1.0/description.php
new file mode 100644
index 000000000..21ec6f0c5
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/1.0/description.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_10_Description extends SimplePie_First_Item_Description_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/">
+ <item>
+ <description>Item Description</description>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/2.0/atom/0.3/content.php b/simplepie/test/first_item_description/SPtests/rss/2.0/atom/0.3/content.php
new file mode 100644
index 000000000..29bf9f2c4
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/2.0/atom/0.3/content.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_20_Atom_03_Content extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0" xmlns:a="http://purl.org/atom/ns#">
+ <channel>
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/2.0/atom/0.3/summary.php b/simplepie/test/first_item_description/SPtests/rss/2.0/atom/0.3/summary.php
new file mode 100644
index 000000000..f853e231a
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/2.0/atom/0.3/summary.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_20_Atom_03_Summary extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0" xmlns:a="http://purl.org/atom/ns#">
+ <channel>
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0/content.php b/simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0/content.php
new file mode 100644
index 000000000..d712ece73
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0/content.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_20_Atom_10_Content extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <item>
+ <a:content>Item Description</a:content>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0/summary.php b/simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0/summary.php
new file mode 100644
index 000000000..ab0aa2d20
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0/summary.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_20_Atom_10_Summary extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <item>
+ <a:summary>Item Description</a:summary>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/2.0/dc/1.0/description.php b/simplepie/test/first_item_description/SPtests/rss/2.0/dc/1.0/description.php
new file mode 100644
index 000000000..19fa60a63
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/2.0/dc/1.0/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_20_DC_10_Description extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.0/">
+ <channel>
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/2.0/dc/1.1/description.php b/simplepie/test/first_item_description/SPtests/rss/2.0/dc/1.1/description.php
new file mode 100644
index 000000000..08e5c1795
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/2.0/dc/1.1/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_20_DC_11_Description extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <channel>
+ <item>
+ <dc:description>Item Description</dc:description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_description/SPtests/rss/2.0/description.php b/simplepie/test/first_item_description/SPtests/rss/2.0/description.php
new file mode 100644
index 000000000..d2b16bef2
--- /dev/null
+++ b/simplepie/test/first_item_description/SPtests/rss/2.0/description.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Description_Test_RSS_20_Description extends SimplePie_First_Item_Description_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0">
+ <channel>
+ <item>
+ <description>Item Description</description>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Description';
+ }
+}
+
+?> \ No newline at end of file