aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_description/SPtests/rss/1.0/atom
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/first_item_description/SPtests/rss/1.0/atom')
-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
4 files changed, 84 insertions, 0 deletions
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