root / drupal7 / sites / all / libraries / simplepie / tests / oldtests / first_item_id / SPtests / rss / 2.0 / dc / 1.1 / identifier.php @ 41cc1b08
1 |
<?php
|
---|---|
2 |
|
3 |
class SimplePie_First_Item_ID_Test_RSS_20_DC_11_Identifier extends SimplePie_First_Item_ID_Test |
4 |
{ |
5 |
function data() |
6 |
{ |
7 |
$this->data =
|
8 |
'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
9 |
<channel>
|
10 |
<item>
|
11 |
<dc:identifier>http://example.com/</dc:identifier>
|
12 |
</item>
|
13 |
</channel>
|
14 |
</rss>';
|
15 |
} |
16 |
|
17 |
function expected() |
18 |
{ |
19 |
$this->expected = 'http://example.com/'; |
20 |
} |
21 |
} |
22 |
|
23 |
?>
|