API
 
Loading...
Searching...
No Matches
zaberLowLevelBinary Unit Tests

Unit tests for the zaberLowLevelBinary application. More...

Collaboration diagram for zaberLowLevelBinary Unit Tests:

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.
 

Detailed Description

Unit tests for the zaberLowLevelBinary application.

Function Documentation

◆ SCENARIO() [1/4]

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.

◆ SCENARIO() [2/4]

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.

◆ SCENARIO() [3/4]

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.

◆ SCENARIO() [4/4]

libXWCTest::zaberLowLevelBinaryTest::SCENARIO ( "Recoverable binary transport errors transition to reconnect states"  ,
""  [zaberLowLevelBinary] 
)