root / drupal7 / sites / all / libraries / simplepie / tests / oldtests / first_item_permalink / SPtests / atom / 0.3 / enclosure.php @ 41cc1b08
1 |
<?php
|
---|---|
2 |
|
3 |
class SimplePie_First_Item_Permalink_Test_Atom_03_Enclosure extends SimplePie_First_Item_Permalink_Test |
4 |
{ |
5 |
function data() |
6 |
{ |
7 |
$this->data =
|
8 |
'<feed version="0.3" xmlns="http://purl.org/atom/ns#">
|
9 |
<entry>
|
10 |
<link href="http://example.com/" rel="enclosure"/>
|
11 |
</entry>
|
12 |
</feed>';
|
13 |
} |
14 |
|
15 |
function expected() |
16 |
{ |
17 |
$this->expected = 'http://example.com/'; |
18 |
} |
19 |
} |
20 |
|
21 |
?>
|