public function SimpletestUnitTestExampleTestCase::runningOnTestbot in Calendar Systems 6.3
Same name and namespace in other branches
- 8 simpletest_calendar_systems.test \SimpletestUnitTestExampleTestCase::runningOnTestbot()
- 6 simpletest_calendar_systems.test \SimpletestUnitTestExampleTestCase::runningOnTestbot()
- 7.3 simpletest_calendar_systems.test \SimpletestUnitTestExampleTestCase::runningOnTestbot()
- 7 simpletest_calendar_systems.test \SimpletestUnitTestExampleTestCase::runningOnTestbot()
- 7.2 simpletest_calendar_systems.test \SimpletestUnitTestExampleTestCase::runningOnTestbot()
Detect if we're running on Drupal.org's automated testbot.
This is used inside the edit test so that the testbot skips intentionally failing tests. Otherwise, it would mark this module as broken.
For more information on the testbot, see http://qa.drupal.org/.
Return value
boolean TRUE if running on testbot.
File
- ./
simpletest_calendar_systems.test, line 70
Class
Code
public function runningOnTestbot() {
$testbot_code_directory = "../checkout";
return file_exists($testbot_code_directory);
}