protected function FeedsSyndicationParserTestCase::feedUrls in Feeds 7
Same name and namespace in other branches
- 6 tests/feeds_parser_syndication.test \FeedsSyndicationParserTestCase::feedUrls()
- 7.2 tests/feeds_parser_syndication.test \FeedsSyndicationParserTestCase::feedUrls()
Return an array of test feeds.
1 call to FeedsSyndicationParserTestCase::feedUrls()
- FeedsSyndicationParserTestCase::test in tests/
feeds_parser_syndication.test - Run tests.
File
- tests/
feeds_parser_syndication.test, line 60 - Tests for plugins/FeedsSyndicationParser.inc.
Class
- FeedsSyndicationParserTestCase
- Test single feeds.
Code
protected function feedUrls() {
$path = $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'feeds') . '/tests/feeds/';
return array(
"{$path}developmentseed.rss2" => array(
'item_count' => 10,
),
"{$path}feed_without_guid.rss2" => array(
'item_count' => 10,
),
);
}