API
 
Loading...
Searching...
No Matches

Unit tests for the cameraSim application. More...

Collaboration diagram for cameraSim Unit Tests:

Namespaces

namespace  libXWCTest::cameraSimTest
 Namespace for cameraSim unit tests.
 

Functions

 libXWCTest::cameraSimTest::TEST_CASE ("cameraSim INDI callbacks validate device and property names", "[cameraSim]")
 Verify the cameraSim stdCamera callback validators accept only the expected properties.
 
 libXWCTest::cameraSimTest::TEST_CASE ("cameraSim stdCamera focus helper tracks monitored switch properties", "[cameraSim]")
 Verify the stdCamera focus helper supports configurable polarity and tracks monitored property updates.
 
 libXWCTest::cameraSimTest::TEST_CASE ("cameraSim stdCamera goto-focus helper dispatches preset commands", "[cameraSim]")
 Verify the stdCamera goto-focus helper formats and dispatches the expected preset command.
 
 libXWCTest::cameraSimTest::TEST_CASE ("cameraSim stdCamera goto-focus helper strips quoted format strings", "[cameraSim]")
 Verify the stdCamera goto-focus helper strips wrapping quotes from configured format strings.
 

Detailed Description

Unit tests for the cameraSim application.

Function Documentation

◆ TEST_CASE() [1/4]

libXWCTest::cameraSimTest::TEST_CASE ( "cameraSim INDI callbacks validate device and property names"  ,
""  [cameraSim] 
)

Verify the cameraSim stdCamera callback validators accept only the expected properties.

Definition at line 265 of file cameraSim_test.cpp.

References XWCTEST_INDI_ARBNEW_CALLBACK.

◆ TEST_CASE() [2/4]

libXWCTest::cameraSimTest::TEST_CASE ( "cameraSim stdCamera focus helper tracks monitored switch properties"  ,
""  [cameraSim] 
)

Verify the stdCamera focus helper supports configurable polarity and tracks monitored property updates.

Definition at line 304 of file cameraSim_test.cpp.

◆ TEST_CASE() [3/4]

libXWCTest::cameraSimTest::TEST_CASE ( "cameraSim stdCamera goto-focus helper dispatches preset commands"  ,
""  [cameraSim] 
)

Verify the stdCamera goto-focus helper formats and dispatches the expected preset command.

Definition at line 349 of file cameraSim_test.cpp.

◆ TEST_CASE() [4/4]

libXWCTest::cameraSimTest::TEST_CASE ( "cameraSim stdCamera goto-focus helper strips quoted format strings"  ,
""  [cameraSim] 
)

Verify the stdCamera goto-focus helper strips wrapping quotes from configured format strings.

Definition at line 397 of file cameraSim_test.cpp.