protected function XMLSitemapTestHelper::assertNoRawSitemapLinks in XML sitemap 6.2
Same name and namespace in other branches
- 7.2 xmlsitemap.test \XMLSitemapTestHelper::assertNoRawSitemapLinks()
1 call to XMLSitemapTestHelper::assertNoRawSitemapLinks()
- XMLSitemapI18nTest::testLanguageSelection in xmlsitemap_i18n/
xmlsitemap_i18n.test
File
- ./
xmlsitemap.test, line 175 - Unit tests for the xmlsitemap module.
Class
- XMLSitemapTestHelper
- Helper test class with some added functions for testing.
Code
protected function assertNoRawSitemapLinks() {
$links = func_get_args();
foreach ($links as $link) {
$path = url($link['loc'], array(
'language' => xmlsitemap_language_load($link['language']),
'absolute' => TRUE,
));
$this
->assertNoRaw($link['loc'], t('Link %path not found in the sitemap.', array(
'%path' => $path,
)));
}
}