Catch2 tests for stateRuleEngine comparison-rule helpers. More...

Go to the source code of this file.
Namespaces | |
| namespace | libXWCTest |
| Namespace for all libXWC tests. | |
| namespace | libXWCTest::stateRuleEngineTest |
Namespace for stateRuleEngine unit tests. | |
Functions | |
| libXWCTest::stateRuleEngineTest::SCENARIO ("basic INDI Property Element-value rules", "[stateRuleEngine::rules]") | |
| libXWCTest::stateRuleEngineTest::SCENARIO ("multiSwitchCombo rule evaluation", "[stateRuleEngine::rules]") | |
| SCENARIO ("INDI element comparison", "[stateRuleEngine::rules]") | |
| SCENARIO ("basic rule comparisons", "[stateRuleEngine::rules]") | |
| SCENARIO ("compound rule comparisons", "[stateRuleEngine::rules]") | |
Catch2 tests for stateRuleEngine comparison-rule helpers.
Definition in file indiCompRules_test.cpp.
| SCENARIO | ( | "basic rule comparisons" | , |
| "" | [stateRuleEngine::rules] | ||
| ) |
Definition at line 721 of file indiCompRules_test.cpp.
References And, indiCompRule::comparison(), onePropRule::element(), Eq, onePropRule::property(), ruleCompRule::rule1(), ruleCompRule::rule2(), txtValRule::target(), and ruleCompRule::value().
| SCENARIO | ( | "compound rule comparisons" | , |
| "" | [stateRuleEngine::rules] | ||
| ) |
Definition at line 771 of file indiCompRules_test.cpp.
References And, indiCompRule::comparison(), onePropRule::element(), Eq, Or, onePropRule::property(), ruleCompRule::rule1(), ruleCompRule::rule2(), txtValRule::target(), and ruleCompRule::value().
| SCENARIO | ( | "INDI element comparison" | , |
| "" | [stateRuleEngine::rules] | ||
| ) |
Definition at line 530 of file indiCompRules_test.cpp.
References indiCompRule::comparison(), twoPropRule::element1(), twoPropRule::element2(), Eq, Neq, twoPropRule::property1(), twoPropRule::property2(), elCompNumRule::value(), elCompTxtRule::value(), and elCompSwRule::value().