[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/xmlsitemap/ -> xmlsitemap.test (summary)

(no description)

File Size: 747 lines (27 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 classes

XMLSitemapTestHelper:: (22 methods):
  setUp()
  tearDown()
  checkFilesDirectory()
  drupalGetSitemap()
  regenerateSitemap()
  cronRun()
  assertSitemapLink()
  assertNoSitemapLink()
  assertSitemapLinkVisible()
  assertSitemapLinkNotVisible()
  assertSitemapLinkValues()
  assertNotSitemapLinkValues()
  assertRawSitemapLinks()
  assertNoRawSitemapLinks()
  addSitemapLink()
  assertFlag()
  assertXMLSitemapProblems()
  assertNoXMLSitemapProblems()
  getWatchdogMessages()
  assertWatchdogMessage()
  assertNoWatchdogMessage()
  assertNoWatchdogErrors()

XMLSitemapUnitTest:: (11 methods):
  getInfo()
  setUp()
  testAssertFlag()
  testGetChangefreq()
  testGetChunkCount()
  testCalculateChangefreq()
  testRecalculateChangefreq()
  testSwitchUser()
  testSaveLink()
  testLinkDelete()
  testUpdateLinks()

XMLSitemapFunctionalTest:: (7 methods):
  getInfo()
  setUp()
  testSitemapCaching()
  testMinimumLifetime()
  testBaseURL()
  testStatusReport()
  testDuplicatePaths()

XMLSitemapRobotsTxtIntegrationTest:: (3 methods):
  getInfo()
  setUp()
  testRobotsTxt()


Class: XMLSitemapTestHelper  - X-Ref

Helper test class with some added functions for testing.

setUp()   X-Ref
No description

tearDown()   X-Ref
No description

checkFilesDirectory()   X-Ref
Check the files directory is created (massive fails if not done).


drupalGetSitemap($language = '', $regenerate = FALSE)   X-Ref
No description

regenerateSitemap()   X-Ref
Regenerate the sitemap by setting the regenerate flag and running cron.


cronRun()   X-Ref
Runs cron in the Drupal installed by Simpletest.


assertSitemapLink($entity_type, $entity_id = NULL)   X-Ref
No description

assertNoSitemapLink($entity_type, $entity_id = NULL)   X-Ref
No description

assertSitemapLinkVisible($entity_type, $entity_id)   X-Ref
No description

assertSitemapLinkNotVisible($entity_type, $entity_id)   X-Ref
No description

assertSitemapLinkValues($entity_type, $entity_id, array $conditions)   X-Ref
No description

assertNotSitemapLinkValues($entity_type, $entity_id, array $conditions)   X-Ref
No description

assertRawSitemapLinks()   X-Ref
No description

assertNoRawSitemapLinks()   X-Ref
No description

addSitemapLink(array $link = array()   X-Ref
No description

assertFlag($variable, $assert_value = TRUE, $reset_if_true = TRUE)   X-Ref
No description

assertXMLSitemapProblems($problem_text = FALSE)   X-Ref
No description

assertNoXMLSitemapProblems()   X-Ref
No description

getWatchdogMessages(array $conditions = array()   X-Ref
Fetch all seen watchdog messages.


assertWatchdogMessage(array $conditions, $message = 'Watchdog message found.')   X-Ref
No description

assertNoWatchdogMessage(array $conditions, $message = 'Watchdog message not found.')   X-Ref
No description

assertNoWatchdogErrors()   X-Ref
Check that there were no watchdog errors or worse.


Class: XMLSitemapUnitTest  - X-Ref

getInfo()   X-Ref
No description

setUp()   X-Ref
No description

testAssertFlag()   X-Ref
No description

testGetChangefreq()   X-Ref
Tests for xmlsitemap_get_changefreq().


testGetChunkCount()   X-Ref
Tests for xmlsitemap_get_chunk_count().


testCalculateChangefreq()   X-Ref
Tests for xmlsitemap_calculate_changereq().


testRecalculateChangefreq()   X-Ref
Test for xmlsitemap_recalculate_changefreq().


testSwitchUser()   X-Ref
Tests for xmlsitemap_switch_user and xmlsitemap_restore_user().


testSaveLink()   X-Ref
Tests for xmlsitemap_link_save().


testLinkDelete()   X-Ref
Tests for xmlsitemap_link_delete().


testUpdateLinks()   X-Ref
Tests for xmlsitemap_link_update_multiple().


Class: XMLSitemapFunctionalTest  - X-Ref

getInfo()   X-Ref
No description

setUp()   X-Ref
No description

testSitemapCaching()   X-Ref
Test the sitemap file caching.


testMinimumLifetime()   X-Ref
Test that the sitemap will not be genereated before the lifetime expires.


testBaseURL()   X-Ref
Test base URL functionality.


testStatusReport()   X-Ref
Test that configuration problems are reported properly in the status report.


testDuplicatePaths()   X-Ref
Test that duplicate paths are skipped during generation.


Class: XMLSitemapRobotsTxtIntegrationTest  - X-Ref

getInfo()   X-Ref
No description

setUp()   X-Ref
No description

testRobotsTxt()   X-Ref
No description



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7