aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_author_name/SPtests/rss
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-05 03:34:42 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-05 03:34:42 -0700
commit9f7ae0e95f89b964a098eaacdfd89ff25e05c615 (patch)
tree0bfe8d04f4b11abdbea41fe9bf6e165eec8ebc4b /simplepie/test/first_item_author_name/SPtests/rss
parentf5826105bfc514599b2c5b6692bca14ca4bc5d78 (diff)
downloadvolse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.gz
volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.bz2
volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.zip
Add simplepie
Diffstat (limited to 'simplepie/test/first_item_author_name/SPtests/rss')
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/0.90/atom/0.3/name.php23
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/0.90/atom/1.0/name.php23
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/0.90/dc/1.0/creator.php21
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/0.90/dc/1.1/creator.php21
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/atom/0.3/name.php26
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/atom/1.0/name.php26
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/dc/1.0/creator.php24
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/dc/1.1/creator.php24
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/0.91-userland/atom/0.3/name.php25
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/0.91-userland/atom/1.0/name.php25
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/0.91-userland/dc/1.0/creator.php23
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/0.91-userland/dc/1.1/creator.php23
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/0.92/atom/0.3/name.php25
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/0.92/atom/1.0/name.php25
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/0.92/dc/1.0/creator.php23
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/0.92/dc/1.1/creator.php23
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/1.0/atom/0.3/name.php23
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/1.0/atom/1.0/name.php23
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/1.0/dc/1.0/creator.php21
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/1.0/dc/1.1/creator.php21
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/2.0/atom/0.3/name.php25
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/2.0/atom/1.0/name.php25
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/2.0/author.php23
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/2.0/dc/1.0/creator.php23
-rw-r--r--simplepie/test/first_item_author_name/SPtests/rss/2.0/dc/1.1/creator.php23
25 files changed, 587 insertions, 0 deletions
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.90/atom/0.3/name.php b/simplepie/test/first_item_author_name/SPtests/rss/0.90/atom/0.3/name.php
new file mode 100644
index 000000000..98c19b55d
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/0.90/atom/0.3/name.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_090_Atom_03_Name extends SimplePie_First_Item_Author_Name_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:author>
+ <a:name>Item Author</a:name>
+ </a:author>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.90/atom/1.0/name.php b/simplepie/test/first_item_author_name/SPtests/rss/0.90/atom/1.0/name.php
new file mode 100644
index 000000000..5e9f2f3e0
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/0.90/atom/1.0/name.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_090_Atom_10_Name extends SimplePie_First_Item_Author_Name_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:author>
+ <a:name>Item Author</a:name>
+ </a:author>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.90/dc/1.0/creator.php b/simplepie/test/first_item_author_name/SPtests/rss/0.90/dc/1.0/creator.php
new file mode 100644
index 000000000..36fec5ca8
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/0.90/dc/1.0/creator.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_090_DC_10_Creator extends SimplePie_First_Item_Author_Name_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:creator>Item Author</dc:creator>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.90/dc/1.1/creator.php b/simplepie/test/first_item_author_name/SPtests/rss/0.90/dc/1.1/creator.php
new file mode 100644
index 000000000..1468447aa
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/0.90/dc/1.1/creator.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_090_DC_11_Creator extends SimplePie_First_Item_Author_Name_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:creator>Item Author</dc:creator>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/atom/0.3/name.php b/simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/atom/0.3/name.php
new file mode 100644
index 000000000..0103bb1ea
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/atom/0.3/name.php
@@ -0,0 +1,26 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_091_Netscape_Atom_03_Name extends SimplePie_First_Item_Author_Name_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:author>
+ <a:name>Item Author</a:name>
+ </a:author>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/atom/1.0/name.php b/simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/atom/1.0/name.php
new file mode 100644
index 000000000..14e96823f
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/atom/1.0/name.php
@@ -0,0 +1,26 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_091_Netscape_Atom_10_Name extends SimplePie_First_Item_Author_Name_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:author>
+ <a:name>Item Author</a:name>
+ </a:author>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/dc/1.0/creator.php b/simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/dc/1.0/creator.php
new file mode 100644
index 000000000..bb5b6ba33
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/dc/1.0/creator.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_091_Netscape_DC_10_Creator extends SimplePie_First_Item_Author_Name_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:creator>Item Author</dc:creator>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/dc/1.1/creator.php b/simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/dc/1.1/creator.php
new file mode 100644
index 000000000..8e0792208
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/0.91-netscape/dc/1.1/creator.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_091_Netscape_DC_11_Creator extends SimplePie_First_Item_Author_Name_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:creator>Item Author</dc:creator>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.91-userland/atom/0.3/name.php b/simplepie/test/first_item_author_name/SPtests/rss/0.91-userland/atom/0.3/name.php
new file mode 100644
index 000000000..ce3a62058
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/0.91-userland/atom/0.3/name.php
@@ -0,0 +1,25 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_091_Userland_Atom_03_Name extends SimplePie_First_Item_Author_Name_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:a="http://purl.org/atom/ns#">
+ <channel>
+ <item>
+ <a:author>
+ <a:name>Item Author</a:name>
+ </a:author>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.91-userland/atom/1.0/name.php b/simplepie/test/first_item_author_name/SPtests/rss/0.91-userland/atom/1.0/name.php
new file mode 100644
index 000000000..4645cd09c
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/0.91-userland/atom/1.0/name.php
@@ -0,0 +1,25 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_091_Userland_Atom_10_Name extends SimplePie_First_Item_Author_Name_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <item>
+ <a:author>
+ <a:name>Item Author</a:name>
+ </a:author>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.91-userland/dc/1.0/creator.php b/simplepie/test/first_item_author_name/SPtests/rss/0.91-userland/dc/1.0/creator.php
new file mode 100644
index 000000000..75c5ddc38
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/0.91-userland/dc/1.0/creator.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_091_Userland_DC_10_Creator extends SimplePie_First_Item_Author_Name_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.0/">
+ <channel>
+ <item>
+ <dc:creator>Item Author</dc:creator>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.91-userland/dc/1.1/creator.php b/simplepie/test/first_item_author_name/SPtests/rss/0.91-userland/dc/1.1/creator.php
new file mode 100644
index 000000000..58ad0a22f
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/0.91-userland/dc/1.1/creator.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_091_Userland_DC_11_Creator extends SimplePie_First_Item_Author_Name_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <channel>
+ <item>
+ <dc:creator>Item Author</dc:creator>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.92/atom/0.3/name.php b/simplepie/test/first_item_author_name/SPtests/rss/0.92/atom/0.3/name.php
new file mode 100644
index 000000000..083b40626
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/0.92/atom/0.3/name.php
@@ -0,0 +1,25 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_092_Atom_03_Name extends SimplePie_First_Item_Author_Name_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:a="http://purl.org/atom/ns#">
+ <channel>
+ <item>
+ <a:author>
+ <a:name>Item Author</a:name>
+ </a:author>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.92/atom/1.0/name.php b/simplepie/test/first_item_author_name/SPtests/rss/0.92/atom/1.0/name.php
new file mode 100644
index 000000000..41a017624
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/0.92/atom/1.0/name.php
@@ -0,0 +1,25 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_092_Atom_10_Name extends SimplePie_First_Item_Author_Name_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <item>
+ <a:author>
+ <a:name>Item Author</a:name>
+ </a:author>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.92/dc/1.0/creator.php b/simplepie/test/first_item_author_name/SPtests/rss/0.92/dc/1.0/creator.php
new file mode 100644
index 000000000..dbf9f8ba6
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/0.92/dc/1.0/creator.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_092_DC_10_Creator extends SimplePie_First_Item_Author_Name_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.0/">
+ <channel>
+ <item>
+ <dc:creator>Item Author</dc:creator>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/0.92/dc/1.1/creator.php b/simplepie/test/first_item_author_name/SPtests/rss/0.92/dc/1.1/creator.php
new file mode 100644
index 000000000..1cdfdfd9b
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/0.92/dc/1.1/creator.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_092_DC_11_Creator extends SimplePie_First_Item_Author_Name_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <channel>
+ <item>
+ <dc:creator>Item Author</dc:creator>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/1.0/atom/0.3/name.php b/simplepie/test/first_item_author_name/SPtests/rss/1.0/atom/0.3/name.php
new file mode 100644
index 000000000..42f912573
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/1.0/atom/0.3/name.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_10_Atom_03_Name extends SimplePie_First_Item_Author_Name_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:author>
+ <a:name>Item Author</a:name>
+ </a:author>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/1.0/atom/1.0/name.php b/simplepie/test/first_item_author_name/SPtests/rss/1.0/atom/1.0/name.php
new file mode 100644
index 000000000..927d365d7
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/1.0/atom/1.0/name.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_10_Atom_10_Name extends SimplePie_First_Item_Author_Name_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:author>
+ <a:name>Item Author</a:name>
+ </a:author>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/1.0/dc/1.0/creator.php b/simplepie/test/first_item_author_name/SPtests/rss/1.0/dc/1.0/creator.php
new file mode 100644
index 000000000..9193b8b07
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/1.0/dc/1.0/creator.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_10_DC_10_Creator extends SimplePie_First_Item_Author_Name_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:creator>Item Author</dc:creator>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/1.0/dc/1.1/creator.php b/simplepie/test/first_item_author_name/SPtests/rss/1.0/dc/1.1/creator.php
new file mode 100644
index 000000000..e66373a57
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/1.0/dc/1.1/creator.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_10_DC_11_Creator extends SimplePie_First_Item_Author_Name_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:creator>Item Author</dc:creator>
+ </item>
+</rdf:RDF>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/2.0/atom/0.3/name.php b/simplepie/test/first_item_author_name/SPtests/rss/2.0/atom/0.3/name.php
new file mode 100644
index 000000000..2a9b6b7a1
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/2.0/atom/0.3/name.php
@@ -0,0 +1,25 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_20_Atom_03_Name extends SimplePie_First_Item_Author_Name_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0" xmlns:a="http://purl.org/atom/ns#">
+ <channel>
+ <item>
+ <a:author>
+ <a:name>Item Author</a:name>
+ </a:author>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/2.0/atom/1.0/name.php b/simplepie/test/first_item_author_name/SPtests/rss/2.0/atom/1.0/name.php
new file mode 100644
index 000000000..fc0d9df84
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/2.0/atom/1.0/name.php
@@ -0,0 +1,25 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_20_Atom_10_Name extends SimplePie_First_Item_Author_Name_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <item>
+ <a:author>
+ <a:name>Item Author</a:name>
+ </a:author>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/2.0/author.php b/simplepie/test/first_item_author_name/SPtests/rss/2.0/author.php
new file mode 100644
index 000000000..cf0c7fce2
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/2.0/author.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_20_Author extends SimplePie_First_Item_Author_Name_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0">
+ <channel>
+ <item>
+ <author>example@example.com (Item Author)</author>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = NULL;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/2.0/dc/1.0/creator.php b/simplepie/test/first_item_author_name/SPtests/rss/2.0/dc/1.0/creator.php
new file mode 100644
index 000000000..35c64dee0
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/2.0/dc/1.0/creator.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_20_DC_10_Creator extends SimplePie_First_Item_Author_Name_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.0/">
+ <channel>
+ <item>
+ <dc:creator>Item Author</dc:creator>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_author_name/SPtests/rss/2.0/dc/1.1/creator.php b/simplepie/test/first_item_author_name/SPtests/rss/2.0/dc/1.1/creator.php
new file mode 100644
index 000000000..18e4e67f4
--- /dev/null
+++ b/simplepie/test/first_item_author_name/SPtests/rss/2.0/dc/1.1/creator.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Author_Name_Test_RSS_20_DC_11_Creator extends SimplePie_First_Item_Author_Name_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <channel>
+ <item>
+ <dc:creator>Item Author</dc:creator>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Author';
+ }
+}
+
+?> \ No newline at end of file