root / drupal7 / sites / all / libraries / simplepie / tests / oldtests / first_item_permalink / SPtests / rss / 0.91-netscape / atom / 1.0 / link.php @ 41cc1b08
1 | 41cc1b08 | Assos Assos | <?php
|
---|---|---|---|
2 | |||
3 | class SimplePie_First_Item_Permalink_Test_RSS_091_Netscape_Atom_10_Link extends SimplePie_First_Item_Permalink_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:link href="http://example.com/"/>
|
||
13 | </item>
|
||
14 | </channel>
|
||
15 | </rss>';
|
||
16 | } |
||
17 | |||
18 | function expected() |
||
19 | { |
||
20 | $this->expected = 'http://example.com/'; |
||
21 | } |
||
22 | } |
||
23 | |||
24 | ?> |