root / drupal7 / sites / all / libraries / simplepie / tests / oldtests / first_item_content / SPtests / rss / 0.90 / description.php @ 41cc1b08
1 | 41cc1b08 | Assos Assos | <?php
|
---|---|---|---|
2 | |||
3 | class SimplePie_First_Item_Content_Test_RSS_090_Description extends SimplePie_First_Item_Content_Test |
||
4 | { |
||
5 | function data() |
||
6 | { |
||
7 | $this->data =
|
||
8 | '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://my.netscape.com/rdf/simple/0.9/">
|
||
9 | <item>
|
||
10 | <description>Item Description</description>
|
||
11 | </item>
|
||
12 | </rdf:RDF>';
|
||
13 | } |
||
14 | |||
15 | function expected() |
||
16 | { |
||
17 | // <description> isn't technically in 0.90, but we support it for compatibility
|
||
18 | $this->expected = 'Item Description'; |
||
19 | } |
||
20 | } |
||
21 | |||
22 | ?> |