MDL-34222 import simplepie 1.3.1

This commit is contained in:
Petr Škoda
2013-04-07 15:35:27 +02:00
parent 422f68fb86
commit d958e6bd70
41 changed files with 19343 additions and 14566 deletions
+2 -1
View File
@@ -66,7 +66,7 @@ class moodlesimplepie_testcase extends basic_testcase {
$this->assertEquals($feed->get_copyright(), '© 2007 moodle');
$this->assertEquals($feed->get_image_url(), 'http://moodle.org/pix/i/rsssitelogo.gif');
$this->assertEquals($feed->get_image_title(), 'moodle');
$this->assertEquals($feed->get_image_link(), 'http://moodle.org');
$this->assertEquals($feed->get_image_link(), 'http://moodle.org/');
$this->assertEquals($feed->get_image_width(), '140');
$this->assertEquals($feed->get_image_height(), '35');
@@ -92,6 +92,7 @@ Google will pay students US$100 for every three tasks they successfully complete
<br />
You can find out all the details on the <a href="http://code.google.com/p/google-highly-open-participation-moodle/">Moodle/GHOP contest site</a>.</p></p>
EOD;
$description = purify_html($description);
$this->assertEquals($itemone->get_description(), $description);