API
 
Loading...
Searching...
No Matches
libXWCTest::stateRuleEngineTest Namespace Reference

Namespace for stateRuleEngine unit tests. More...

Functions

 SCENARIO ("configuring basic rules", "[stateRuleEngine::ruleConfig]")
 
 SCENARIO ("configuring the demo", "[stateRuleEngine::ruleConfig]")
 
 SCENARIO ("rule configurations with errors", "[stateRuleEngine::ruleConfig]")
 
 SCENARIO ("basic INDI Property Element-value rules", "[stateRuleEngine::rules]")
 
 SCENARIO ("multiSwitchCombo rule evaluation", "[stateRuleEngine::rules]")
 
 TEST_CASE ("stateRuleEngine placeholder harness instantiates the app", "[stateRuleEngine]")
 Verify the placeholder stateRuleEngine test harness instantiates the app cleanly.
 
 TEST_CASE ("stateRuleEngine notification helpers format active and clear messages", "[stateRuleEngine]")
 Verify notification helpers preserve active severity labels and clear formatting.
 
 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.
 
 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.
 

Detailed Description

Namespace for stateRuleEngine unit tests.

Function Documentation

◆ SCENARIO() [1/5]

◆ SCENARIO() [2/5]

◆ SCENARIO() [3/5]

libXWCTest::stateRuleEngineTest::SCENARIO ( "configuring the demo"  ,
""  [stateRuleEngine::ruleConfig] 
)

◆ SCENARIO() [4/5]

◆ SCENARIO() [5/5]

libXWCTest::stateRuleEngineTest::SCENARIO ( "rule configurations with errors"  ,
""  [stateRuleEngine::ruleConfig] 
)

Definition at line 439 of file indiCompRuleConfig_test.cpp.

References finalizeRuleValRules(), and loadRuleConfig().