You are here

protected function BotchaBaseWebTestCase::debug in BOTCHA Spam Prevention 7.2

Same name and namespace in other branches
  1. 6.2 botcha.test \BotchaBaseWebTestCase::debug()
  2. 6.3 tests/botcha.simpletest.test \BotchaBaseWebTestCase::debug()
  3. 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 680
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');
}