protected function BotchaBaseWebTestCase::debug in BOTCHA Spam Prevention 7.3
Same name and namespace in other branches
- 6.2 botcha.test \BotchaBaseWebTestCase::debug()
- 6.3 tests/botcha.simpletest.test \BotchaBaseWebTestCase::debug()
- 7.2 botcha.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 tests/
botcha.simpletest.test - Check whether our suspections are real.
- BotchaBaseWebTestCase::getForm in tests/
botcha.simpletest.test - Get one of predefined forms. Used to unify the process of testing.
- BotchaBaseWebTestCase::postForm in tests/
botcha.simpletest.test - Post one of predefined forms. Used to unify the process of testing.
- BotchaBaseWebTestCase::setFormValues in tests/
botcha.simpletest.test - Helper function to generate a default form values array for any form.
File
- tests/
botcha.simpletest.test, line 698 - Simpletest-tests for BOTCHA module.
Class
- BotchaBaseWebTestCase
- Base class for BOTCHA tests.
Code
protected function debug($message_template, $substitutions = array()) {
return $this
->pass(t($message_template, $substitutions), 'BOTCHA');
}