Unit tests for the zaberLowLevelBinary application. More...

Namespaces | |
| namespace | libXWCTest::zaberLowLevelBinaryTest |
Namespace for zaberLowLevelBinary unit tests. | |
Functions | |
| libXWCTest::zaberLowLevelBinaryTest::SCENARIO ("INDI Callbacks", "[zaberLowLevelBinary]") | |
| Verify zaberLowLevelBinary callback validation, power-off snapshots, and homing timestamp refresh logic. | |
| libXWCTest::zaberLowLevelBinaryTest::SCENARIO ("Binary discovery resets stale device addresses", "[zaberLowLevelBinary]") | |
| Verify discovery clears stale addresses and reports missing configured stages safely. | |
| libXWCTest::zaberLowLevelBinaryTest::SCENARIO ("Binary discovery can find devices that appear later", "[zaberLowLevelBinary]") | |
| Verify a later discovery pass can find a stage that was missing initially. | |
| libXWCTest::zaberLowLevelBinaryTest::SCENARIO ("Recoverable binary transport errors transition to reconnect states", "[zaberLowLevelBinary]") | |
| Verify communication failures drop the binary app back into reconnectable states. | |
Unit tests for the zaberLowLevelBinary application.
| libXWCTest::zaberLowLevelBinaryTest::SCENARIO | ( | "Binary discovery can find devices that appear later" | , |
| "" | [zaberLowLevelBinary] | ||
| ) |
Verify a later discovery pass can find a stage that was missing initially.
Definition at line 333 of file zaberLowLevelBinary_test.cpp.
References ZBC_CONNECTED.
| libXWCTest::zaberLowLevelBinaryTest::SCENARIO | ( | "Binary discovery resets stale device addresses" | , |
| "" | [zaberLowLevelBinary] | ||
| ) |
Verify discovery clears stale addresses and reports missing configured stages safely.
Definition at line 311 of file zaberLowLevelBinary_test.cpp.
References MagAOX::app::zaberLowLevelBinary::loadStages(), and ZBC_CONNECTED.
| libXWCTest::zaberLowLevelBinaryTest::SCENARIO | ( | "INDI Callbacks" | , |
| "" | [zaberLowLevelBinary] | ||
| ) |
Verify zaberLowLevelBinary callback validation, power-off snapshots, and homing timestamp refresh logic.
Definition at line 251 of file zaberLowLevelBinary_test.cpp.
References MagAOX::app::zaberLowLevelBinary::onPowerOff(), and XWCTEST_INDI_NEW_CALLBACK.
| libXWCTest::zaberLowLevelBinaryTest::SCENARIO | ( | "Recoverable binary transport errors transition to reconnect states" | , |
| "" | [zaberLowLevelBinary] | ||
| ) |
Verify communication failures drop the binary app back into reconnectable states.
Definition at line 353 of file zaberLowLevelBinary_test.cpp.
References MagAOX::app::stateCodes::ERROR, MagAOX::app::stateCodes::NODEVICE, MagAOX::app::stateCodes::NOTCONNECTED, MagAOX::app::zaberLowLevelBinary::recoverFromError(), and MagAOX::app::zaberLowLevelBinary::resetConnection().