You are here

function rules_conditional_test_throw in Conditional Rules 7

Same name and namespace in other branches
  1. 8 tests/rules_conditional_test.module \rules_conditional_test_throw()

Throws a test exception.

5 string references to 'rules_conditional_test_throw'
RuleConditionSetTestCase::createTestComponent in tests/rules_conditional.test
Creates an action set to test a rule condition set.
RulesConditionalFrameworkTestCase::testPredicateElement in tests/rules_conditional.test
Tests the base predicate element.
RulesConditionalSwitchTestCase::createTestComponent in tests/rules_conditional.test
Creates an action set to test a conditional.
RulesConditionalTestCase::createTestComponent in tests/rules_conditional.test
Creates an action set to test a conditional.
RulesConditionalWhileTestCase::createTestComponent in tests/rules_conditional.test
Creates an action set to test a conditional.

File

tests/rules_conditional_test.module, line 98
Testing module.

Code

function rules_conditional_test_throw($message) {
  throw new RulesConditionalTestException($message);
}