API
 
Loading...
Searching...
No Matches
stateRuleEngine_test.cpp File Reference

Catch2 tests for the stateRuleEngine app. More...

#include "../../../tests/testXWC.hpp"
#include <stdexcept>
#include "../stateRuleEngine.hpp"
Include dependency graph for stateRuleEngine_test.cpp:

Go to the source code of this file.

Namespaces

namespace  MagAOX
 
namespace  MagAOX::app
 
namespace  libXWCTest
 Namespace for all libXWC tests.
 
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.
 

Detailed Description

Catch2 tests for the stateRuleEngine app.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file stateRuleEngine_test.cpp.