root / drupal7 / sites / all / libraries / simplepie / tests / oldtests / first_item_category_label / SPtests / rss / 0.91-netscape / atom / 1.0 / label.php @ 41cc1b08
1 |
<?php
|
---|---|
2 |
|
3 |
class SimplePie_First_Item_Category_Label_Test_RSS_091_Netscape_Atom_10_Category_Label extends SimplePie_First_Item_Category_Label_Test |
4 |
{ |
5 |
function data() |
6 |
{ |
7 |
$this->data =
|
8 |
'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd">
|
9 |
<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom">
|
10 |
<channel>
|
11 |
<item>
|
12 |
<a:category label="Item Category"/>
|
13 |
</item>
|
14 |
</channel>
|
15 |
</rss>';
|
16 |
} |
17 |
|
18 |
function expected() |
19 |
{ |
20 |
$this->expected = 'Item Category'; |
21 |
} |
22 |
} |
23 |
|
24 |
?>
|