aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_title/SPtests/atom/0.3
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_title/SPtests/atom/0.3
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_title/SPtests/atom/0.3')
-rw-r--r--simplepie/test/first_item_title/SPtests/atom/0.3/dc/1.0/title.php21
-rw-r--r--simplepie/test/first_item_title/SPtests/atom/0.3/dc/1.1/title.php21
-rw-r--r--simplepie/test/first_item_title/SPtests/atom/0.3/title.php21
3 files changed, 63 insertions, 0 deletions
diff --git a/simplepie/test/first_item_title/SPtests/atom/0.3/dc/1.0/title.php b/simplepie/test/first_item_title/SPtests/atom/0.3/dc/1.0/title.php
new file mode 100644
index 000000000..c70757657
--- /dev/null
+++ b/simplepie/test/first_item_title/SPtests/atom/0.3/dc/1.0/title.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Title_Test_Atom_03_DC_10_Title extends SimplePie_First_Item_Title_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:title>Item Title</dc:title>
+ </entry>
+</feed>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Title';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_title/SPtests/atom/0.3/dc/1.1/title.php b/simplepie/test/first_item_title/SPtests/atom/0.3/dc/1.1/title.php
new file mode 100644
index 000000000..9c4bedb32
--- /dev/null
+++ b/simplepie/test/first_item_title/SPtests/atom/0.3/dc/1.1/title.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Title_Test_Atom_03_DC_11_Title extends SimplePie_First_Item_Title_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:title>Item Title</dc:title>
+ </entry>
+</feed>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Title';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/first_item_title/SPtests/atom/0.3/title.php b/simplepie/test/first_item_title/SPtests/atom/0.3/title.php
new file mode 100644
index 000000000..db7d19fb5
--- /dev/null
+++ b/simplepie/test/first_item_title/SPtests/atom/0.3/title.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_Title_Test_Atom_03_Title extends SimplePie_First_Item_Title_Test
+{
+ function data()
+ {
+ $this->data =
+'<feed version="0.3" xmlns="http://purl.org/atom/ns#">
+ <entry>
+ <title>Item Title</title>
+ </entry>
+</feed>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Item Title';
+ }
+}
+
+?> \ No newline at end of file