protected function BotchaBaseWebTestCase::debug in BOTCHA Spam Prevention 6.2
Same name and namespace in other branches
- 6.3 tests/botcha.simpletest.test \BotchaBaseWebTestCase::debug()
- 7.2 botcha.test \BotchaBaseWebTestCase::debug()
- 7.3 tests/botcha.simpletest.test \BotchaBaseWebTestCase::debug()
Used to print debug message on the test result screen.
Parameters
string $message_template:
array $substitutions:
4 calls to BotchaBaseWebTestCase::debug()
- BotchaBaseWebTestCase::assertFormSubmission in ./
botcha.test - Check whether our suspections are real.
- BotchaBaseWebTestCase::getForm in ./
botcha.test - Get one of predefined forms. Used to unify the process of testing.
- BotchaBaseWebTestCase::postForm in ./
botcha.test - Post one of predefined forms. Used to unify the process of testing.
- BotchaBaseWebTestCase::setFormValues in ./
botcha.test - Helper function to generate a default form values array for any form.
File
- ./
botcha.test, line 689 - Tests for BOTCHA module.
Class
- BotchaBaseWebTestCase
- Base class for BOTCHA tests.
Code
protected function debug($message_template, $substitutions = array()) {
return $this
->assertTrue(TRUE, t($message_template, $substitutions), 'BOTCHA');
}