You are here

function BotchaBaseWebTestCase::getExpectations in BOTCHA Spam Prevention 7.2

Same name and namespace in other branches
  1. 6.2 botcha.test \BotchaBaseWebTestCase::getExpectations()
  2. 6.3 tests/botcha.simpletest.test \BotchaBaseWebTestCase::getExpectations()
  3. 7.3 tests/botcha.simpletest.test \BotchaBaseWebTestCase::getExpectations()

Get an array of our expectations to cycle through: should we test that this form fails or successfully submitted or both?

1 call to BotchaBaseWebTestCase::getExpectations()
BotchaTestCase::testFormSubmission in ./botcha.test
5 methods override BotchaBaseWebTestCase::getExpectations()
BotchaHoneypot2TestCase::getExpectations in ./botcha.test
Get an array of our expectations to cycle through: should we test that this form fails or successfully submitted or both?
BotchaHoneypotTestCase::getExpectations in ./botcha.test
Get an array of our expectations to cycle through: should we test that this form fails or successfully submitted or both?
BotchaNoResubmitTestCase::getExpectations in ./botcha.test
Get an array of our expectations to cycle through: should we test that this form fails or successfully submitted or both?
BotchaObscureUrlTestCase::getExpectations in ./botcha.test
Get an array of our expectations to cycle through: should we test that this form fails or successfully submitted or both?
BotchaTimegateTestCase::getExpectations in ./botcha.test
Get an array of our expectations to cycle through: should we test that this form fails or successfully submitted or both?

File

./botcha.test, line 233
Tests for BOTCHA module.

Class

BotchaBaseWebTestCase
Base class for BOTCHA tests.

Code

function getExpectations() {
  return array(
    TRUE,
  );
}