Unit tests for the stateRuleEngine application. More...

Namespaces | |
| namespace | libXWCTest::stateRuleEngineTest |
Namespace for stateRuleEngine unit tests. | |
Functions | |
| libXWCTest::stateRuleEngineTest::TEST_CASE ("stateRuleEngine placeholder harness instantiates the app", "[stateRuleEngine]") | |
| Verify the placeholder stateRuleEngine test harness instantiates the app cleanly. | |
| libXWCTest::stateRuleEngineTest::TEST_CASE ("stateRuleEngine notification helpers format active and clear messages", "[stateRuleEngine]") | |
| Verify notification helpers preserve active severity labels and clear formatting. | |
| libXWCTest::stateRuleEngineTest::TEST_CASE ("stateRuleEngine published-state helpers select properties and detect On state", "[stateRuleEngine]") | |
| Verify the published-state helpers select the right property and detect switch state. | |
| libXWCTest::stateRuleEngineTest::TEST_CASE ("stateRuleEngine appLogic reports one clear notification per observed On-to-Off transition", "[stateRuleEngine]") | |
Verify appLogic() emits one clear notification for an observed On -> Off transition. | |
Unit tests for the stateRuleEngine application.
Additional unit tests for the stateRuleEngine application.
| libXWCTest::stateRuleEngineTest::TEST_CASE | ( | "stateRuleEngine appLogic reports one clear notification per observed On-to-Off transition" | , |
| "" | [stateRuleEngine] | ||
| ) |
Verify appLogic() emits one clear notification for an observed On -> Off transition.
Definition at line 252 of file stateRuleEngine_test.cpp.
References MagAOX::app::stateRuleEngine::appLogic(), indiCompRule::message(), indiCompRule::messageCount(), indiCompRule::priority(), and warning.
| libXWCTest::stateRuleEngineTest::TEST_CASE | ( | "stateRuleEngine notification helpers format active and clear messages" | , |
| "" | [stateRuleEngine] | ||
| ) |
Verify notification helpers preserve active severity labels and clear formatting.
Definition at line 175 of file stateRuleEngine_test.cpp.
References info, MagAOX::app::stateRuleEngine::notificationLabel(), MagAOX::app::stateRuleEngine::notificationMessage(), and warning.
| libXWCTest::stateRuleEngineTest::TEST_CASE | ( | "stateRuleEngine placeholder harness instantiates the app" | , |
| "" | [stateRuleEngine] | ||
| ) |
Verify the placeholder stateRuleEngine test harness instantiates the app cleanly.
Definition at line 155 of file stateRuleEngine_test.cpp.
| libXWCTest::stateRuleEngineTest::TEST_CASE | ( | "stateRuleEngine published-state helpers select properties and detect On state" | , |
| "" | [stateRuleEngine] | ||
| ) |
Verify the published-state helpers select the right property and detect switch state.
Definition at line 216 of file stateRuleEngine_test.cpp.
References alert, caution, info, none, MagAOX::app::stateRuleEngine::ruleIsOn(), MagAOX::app::stateRuleEngine::ruleStateProperty(), and warning.