You are here

protected function FeedsSyndicationParserTestCase::feedUrls in Feeds 6

Same name and namespace in other branches
  1. 7.2 tests/feeds_parser_syndication.test \FeedsSyndicationParserTestCase::feedUrls()
  2. 7 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 47
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,
    ),
  );
}