function AggregatorTestCase::getAtomSample
7.x aggregator.test | AggregatorTestCase::getAtomSample() |
1 call to AggregatorTestCase::getAtomSample()
- FeedParserTestCase::testAtomSample in drupal-7.x/
modules/ aggregator/ aggregator.test - Tests a feed that uses the Atom format.
File
- drupal-7.x/
modules/ aggregator/ aggregator.test, line 285 - Tests for aggregator.module.
Class
- AggregatorTestCase
- Defines a base class for testing the Aggregator module.
Code
function getAtomSample() {
// The content of this sample ATOM feed is based directly off of the
// example provided in RFC 4287.
return $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'aggregator') . '/tests/aggregator_test_atom.xml';
}