diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-05 03:34:42 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-05 03:34:42 -0700 |
commit | 9f7ae0e95f89b964a098eaacdfd89ff25e05c615 (patch) | |
tree | 0bfe8d04f4b11abdbea41fe9bf6e165eec8ebc4b /simplepie/test/feed_title/rss-profile | |
parent | f5826105bfc514599b2c5b6692bca14ca4bc5d78 (diff) | |
download | volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.gz volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.bz2 volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.zip |
Add simplepie
Diffstat (limited to 'simplepie/test/feed_title/rss-profile')
-rw-r--r-- | simplepie/test/feed_title/rss-profile/1.php | 21 | ||||
-rw-r--r-- | simplepie/test/feed_title/rss-profile/2.php | 21 | ||||
-rw-r--r-- | simplepie/test/feed_title/rss-profile/3.php | 21 | ||||
-rw-r--r-- | simplepie/test/feed_title/rss-profile/4.php | 21 | ||||
-rw-r--r-- | simplepie/test/feed_title/rss-profile/5.php | 21 | ||||
-rw-r--r-- | simplepie/test/feed_title/rss-profile/6.php | 21 | ||||
-rw-r--r-- | simplepie/test/feed_title/rss-profile/7.php | 21 |
7 files changed, 147 insertions, 0 deletions
diff --git a/simplepie/test/feed_title/rss-profile/1.php b/simplepie/test/feed_title/rss-profile/1.php new file mode 100644 index 000000000..a9580571c --- /dev/null +++ b/simplepie/test/feed_title/rss-profile/1.php @@ -0,0 +1,21 @@ +<?php + +class RSS_Profile_Title_1 extends SimplePie_Feed_Title_Test +{ + function data() + { + $this->data = +'<rss version="2.0"> + <channel> + <title>AT&T</title> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'AT&T'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/rss-profile/2.php b/simplepie/test/feed_title/rss-profile/2.php new file mode 100644 index 000000000..e7635c9af --- /dev/null +++ b/simplepie/test/feed_title/rss-profile/2.php @@ -0,0 +1,21 @@ +<?php + +class RSS_Profile_Title_2 extends SimplePie_Feed_Title_Test +{ + function data() + { + $this->data = +'<rss version="2.0"> + <channel> + <title>Bill & Ted\'s Excellent Adventure</title> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Bill & Ted\'s Excellent Adventure'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/rss-profile/3.php b/simplepie/test/feed_title/rss-profile/3.php new file mode 100644 index 000000000..2b150591e --- /dev/null +++ b/simplepie/test/feed_title/rss-profile/3.php @@ -0,0 +1,21 @@ +<?php + +class RSS_Profile_Title_3 extends SimplePie_Feed_Title_Test +{ + function data() + { + $this->data = +'<rss version="2.0"> + <channel> + <title>The &amp; entity</title> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'The &amp; entity'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/rss-profile/4.php b/simplepie/test/feed_title/rss-profile/4.php new file mode 100644 index 000000000..d46435ada --- /dev/null +++ b/simplepie/test/feed_title/rss-profile/4.php @@ -0,0 +1,21 @@ +<?php + +class RSS_Profile_Title_4 extends SimplePie_Feed_Title_Test +{ + function data() + { + $this->data = +'<rss version="2.0"> + <channel> + <title>I <3 Phil Ringnalda</title> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'I <3 Phil Ringnalda'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/rss-profile/5.php b/simplepie/test/feed_title/rss-profile/5.php new file mode 100644 index 000000000..ca4d28cc7 --- /dev/null +++ b/simplepie/test/feed_title/rss-profile/5.php @@ -0,0 +1,21 @@ +<?php + +class RSS_Profile_Title_5 extends SimplePie_Feed_Title_Test +{ + function data() + { + $this->data = +'<rss version="2.0"> + <channel> + <title>A < B</title> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'A < B'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/rss-profile/6.php b/simplepie/test/feed_title/rss-profile/6.php new file mode 100644 index 000000000..525ca2052 --- /dev/null +++ b/simplepie/test/feed_title/rss-profile/6.php @@ -0,0 +1,21 @@ +<?php + +class RSS_Profile_Title_6 extends SimplePie_Feed_Title_Test +{ + function data() + { + $this->data = +'<rss version="2.0"> + <channel> + <title>A<B</title> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'A<B'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/rss-profile/7.php b/simplepie/test/feed_title/rss-profile/7.php new file mode 100644 index 000000000..26d699b75 --- /dev/null +++ b/simplepie/test/feed_title/rss-profile/7.php @@ -0,0 +1,21 @@ +<?php + +class RSS_Profile_Title_7 extends SimplePie_Feed_Title_Test +{ + function data() + { + $this->data = +'<rss version="2.0"> + <channel> + <title>Nice <gorilla> what\'s he weigh?</title> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Nice <gorilla> what\'s he weigh?'; + } +} + +?>
\ No newline at end of file |