if(xmlsitemap_check_status()&&user_access('administer site configuration')){
drupal_set_message(t('One or more problems were detected with your XML sitemap configuration. Please check the <a href="@status-report">status report</a> for more information.',array('@status-report'=>url('admin/reports/status'))),'error',FALSE);
if(user_access('administer site configuration')&&$messages=xmlsitemap_check_status()){
drupal_set_message(t('One or more problems were detected with your XML sitemap configuration. Check the <a href="@status-report">status report</a> for more information.<br />!list',array('@status-report'=>url('admin/reports/status'),'!list'=>theme('item_list',array('items'=>$messages)))),'warning',FALSE);
$this->assertNoText(t('One or more problems were detected with your XML sitemap configuration. Please check the status report for more information.'));
$this->assertNoText(t('One or more problems were detected with your XML sitemap configuration. Check the status report for more information.'));
$this->assertXMLSitemapProblems(t('The XML cached files are out of date and need to be regenerated. You can run cron manually to regenerate the sitemap files.'));