Namespace for xInstGraph unit tests.
More...
Classes | |
| class | test_xigNode |
Functions | |
| void | writeXML () |
| Write a minimal draw.io graph containing one of each supported node type. | |
| TEST_CASE ("Configuring xInstGraph with no errors", "[xInstGraph]") | |
| Verify xInstGraph configures and runs when given a minimal graph with all supported node types. | |
| SCENARIO ("Creating and configuring an fsmNode", "[instGraph::fsmNode]") | |
| SCENARIO ("Creating and configuring an indiPropNode", "[instGraph::indiPropNode]") | |
| TEST_CASE ("Creating and configuring an pwrOnOffNode", "[instGraph::pwrOnOffNode]") | |
| TEST_CASE ("Creating and configuring an staticNode", "[instGraph::staticNode]") | |
| SCENARIO ("Creating and configuring a stdMotionNode", "[instGraph::stdMotionNode]") | |
| SCENARIO ("Creating an xigNode", "[instGraph::xigNode]") | |
Namespace for xInstGraph unit tests.
Namespace for xInstGraph node unit tests.
| libXWCTest::xInstGraphTest::SCENARIO | ( | "Creating an xigNode" | , |
| "" | [instGraph::xigNode] | ||
| ) |
Definition at line 61 of file xigNode_test.cpp.
References xigNode::key(), xigNode::keys(), xigNode::name(), xigNode::node(), and writeXML().
| libXWCTest::xInstGraphTest::SCENARIO | ( | "Creating and configuring a stdMotionNode" | , |
| "" | [instGraph::stdMotionNode] | ||
| ) |
Definition at line 50 of file stdMotionNode_test.cpp.
References stdMotionNode::device(), stdMotionNode::device(), stdMotionNode::loadConfig(), xigNode::name(), xigNode::node(), stdMotionNode::presetDir(), stdMotionNode::presetPrefix(), stdMotionNode::presetPutName(), stdMotionNode::trackerElement(), stdMotionNode::trackerKey(), stdMotionNode::trackingReqElement(), stdMotionNode::trackingReqKey(), and writeXML().
| libXWCTest::xInstGraphTest::SCENARIO | ( | "Creating and configuring an fsmNode" | , |
| "" | [instGraph::fsmNode] | ||
| ) |
Definition at line 50 of file fsmNode_test.cpp.
References active, fsmNode::device(), fsmNode::fsmAction(), fsmNode::fsmKey(), fsmNode::loadConfig(), xigNode::name(), xigNode::node(), MagAOX::app::stateCodes::OPERATING, passive, MagAOX::app::stateCodes::READY, fsmNode::targetStates(), threshOff, and writeXML().
| libXWCTest::xInstGraphTest::SCENARIO | ( | "Creating and configuring an indiPropNode" | , |
| "" | [instGraph::indiPropNode] | ||
| ) |
Definition at line 50 of file indiPropNode_test.cpp.
References indiPropNode::handleSetProperty(), indiPropNode::loadConfig(), xigNode::name(), xigNode::node(), indiPropNode::propEl(), indiPropNode::propKey(), indiPropNode::propKey(), indiPropNode::propValNum(), indiPropNode::propValStr(), indiPropNode::propValSw(), indiPropNode::state(), indiPropNode::tol(), indiPropNode::type(), and writeXML().
| libXWCTest::xInstGraphTest::TEST_CASE | ( | "Creating and configuring an pwrOnOffNode" | , |
| "" | [instGraph::pwrOnOffNode] | ||
| ) |
Definition at line 50 of file pwrOnOffNode_test.cpp.
References pwrOnOffNode::loadConfig(), xigNode::name(), xigNode::node(), pwrOnOffNode::pwrKey(), pwrOnOffNode::pwrKey(), and writeXML().
| libXWCTest::xInstGraphTest::TEST_CASE | ( | "Creating and configuring an staticNode" | , |
| "" | [instGraph::staticNode] | ||
| ) |
Definition at line 61 of file staticNode_test.cpp.
References staticNode::inputsOff(), staticNode::inputsOn(), staticNode::loadConfig(), xigNode::name(), xigNode::node(), staticNode::outputsOff(), staticNode::outputsOn(), and writeXML().
| void libXWCTest::xInstGraphTest::writeXML | ( | ) |
Write a minimal draw.io graph containing one of each supported node type.
Definition at line 47 of file xInstGraph_test.cpp.
Referenced by SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), TEST_CASE(), TEST_CASE(), and TEST_CASE().