From 9f7ae0e95f89b964a098eaacdfd89ff25e05c615 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Mon, 5 Jul 2010 03:34:42 -0700 Subject: Add simplepie --- simplepie/test/feed_title/SPtests/bugs/16.0.php | 23 +++++++++++++++++++++++ simplepie/test/feed_title/SPtests/bugs/174.0.php | 20 ++++++++++++++++++++ simplepie/test/feed_title/SPtests/bugs/18.0.php | 24 ++++++++++++++++++++++++ simplepie/test/feed_title/SPtests/bugs/18.1.php | 24 ++++++++++++++++++++++++ simplepie/test/feed_title/SPtests/bugs/20.0.php | 19 +++++++++++++++++++ simplepie/test/feed_title/SPtests/bugs/20.1.php | 19 +++++++++++++++++++ simplepie/test/feed_title/SPtests/bugs/20.2.php | 19 +++++++++++++++++++ simplepie/test/feed_title/SPtests/bugs/272.0.php | 19 +++++++++++++++++++ simplepie/test/feed_title/SPtests/bugs/272.1.php | 19 +++++++++++++++++++ 9 files changed, 186 insertions(+) create mode 100644 simplepie/test/feed_title/SPtests/bugs/16.0.php create mode 100644 simplepie/test/feed_title/SPtests/bugs/174.0.php create mode 100644 simplepie/test/feed_title/SPtests/bugs/18.0.php create mode 100644 simplepie/test/feed_title/SPtests/bugs/18.1.php create mode 100644 simplepie/test/feed_title/SPtests/bugs/20.0.php create mode 100644 simplepie/test/feed_title/SPtests/bugs/20.1.php create mode 100644 simplepie/test/feed_title/SPtests/bugs/20.2.php create mode 100644 simplepie/test/feed_title/SPtests/bugs/272.0.php create mode 100644 simplepie/test/feed_title/SPtests/bugs/272.1.php (limited to 'simplepie/test/feed_title/SPtests/bugs') diff --git a/simplepie/test/feed_title/SPtests/bugs/16.0.php b/simplepie/test/feed_title/SPtests/bugs/16.0.php new file mode 100644 index 000000000..ab92612ae --- /dev/null +++ b/simplepie/test/feed_title/SPtests/bugs/16.0.php @@ -0,0 +1,23 @@ +data = +' + + + Feed with DOCTYPE + +'; + } + + function expected() + { + $this->expected = 'Feed with DOCTYPE'; + } +} + +?> \ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/174.0.php b/simplepie/test/feed_title/SPtests/bugs/174.0.php new file mode 100644 index 000000000..9625463b7 --- /dev/null +++ b/simplepie/test/feed_title/SPtests/bugs/174.0.php @@ -0,0 +1,20 @@ +data = +' + + Spaces in prolog +'; + } + + function expected() + { + $this->expected = 'Spaces in prolog'; + } +} + +?> \ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/18.0.php b/simplepie/test/feed_title/SPtests/bugs/18.0.php new file mode 100644 index 000000000..5f63db252 --- /dev/null +++ b/simplepie/test/feed_title/SPtests/bugs/18.0.php @@ -0,0 +1,24 @@ +data = +' + + Channel title + + Image title + + +'; + } + + function expected() + { + $this->expected = 'Channel title'; + } +} + +?> \ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/18.1.php b/simplepie/test/feed_title/SPtests/bugs/18.1.php new file mode 100644 index 000000000..d51c3d3df --- /dev/null +++ b/simplepie/test/feed_title/SPtests/bugs/18.1.php @@ -0,0 +1,24 @@ +data = +' + + + Image title + + Channel title + +'; + } + + function expected() + { + $this->expected = 'Channel title'; + } +} + +?> \ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/20.0.php b/simplepie/test/feed_title/SPtests/bugs/20.0.php new file mode 100644 index 000000000..4d1c394b5 --- /dev/null +++ b/simplepie/test/feed_title/SPtests/bugs/20.0.php @@ -0,0 +1,19 @@ +data = +' + Non-default namespace +'; + } + + function expected() + { + $this->expected = 'Non-default namespace'; + } +} + +?> \ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/20.1.php b/simplepie/test/feed_title/SPtests/bugs/20.1.php new file mode 100644 index 000000000..f46fc622b --- /dev/null +++ b/simplepie/test/feed_title/SPtests/bugs/20.1.php @@ -0,0 +1,19 @@ +data = +' +
Non-default namespace
+
'; + } + + function expected() + { + $this->expected = 'Non-default namespace'; + } +} + +?> \ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/20.2.php b/simplepie/test/feed_title/SPtests/bugs/20.2.php new file mode 100644 index 000000000..ed7d75e42 --- /dev/null +++ b/simplepie/test/feed_title/SPtests/bugs/20.2.php @@ -0,0 +1,19 @@ +data = +' + <h:div>Non-default namespace</h:div> +'; + } + + function expected() + { + $this->expected = 'Non-default namespace'; + } +} + +?> \ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/272.0.php b/simplepie/test/feed_title/SPtests/bugs/272.0.php new file mode 100644 index 000000000..5bd731613 --- /dev/null +++ b/simplepie/test/feed_title/SPtests/bugs/272.0.php @@ -0,0 +1,19 @@ +data = +' + Ampersand: <![CDATA[&]]> +'; + } + + function expected() + { + $this->expected = 'Ampersand: &'; + } +} + +?> \ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/272.1.php b/simplepie/test/feed_title/SPtests/bugs/272.1.php new file mode 100644 index 000000000..5beda2ded --- /dev/null +++ b/simplepie/test/feed_title/SPtests/bugs/272.1.php @@ -0,0 +1,19 @@ +data = +' + <![CDATA[&]]>: Ampersand +'; + } + + function expected() + { + $this->expected = '&: Ampersand'; + } +} + +?> \ No newline at end of file -- cgit v1.2.3