Namespace for ocam2KCtrl lifecycle unit tests.
More...
Functions | |
| TEST_CASE ("ocam2KCtrl lifecycle entrypoints handle startup failures and POWERON logic", "[ocam2KCtrl]") | |
| Verify lifecycle entrypoints cover startup failure handling and the POWERON fast-return path. | |
| TEST_CASE ("ocam2KCtrl sync stream creation uses a 1x1 uint8 layout", "[ocam2KCtrl]") | |
| Verify the sync stream is created as a 1x1 uint8 ImageStreamIO buffer. | |
| TEST_CASE ("ocam2KCtrl sync stream publication mirrors metadata and posts semaphores", "[ocam2KCtrl]") | |
| Verify the sync stream mirrors main-stream metadata and posts a semaphore. | |
| TEST_CASE ("ocam2KCtrl ensureSyncStream reuses and replaces existing stream state", "[ocam2KCtrl]") | |
| Verify sync-stream preparation reuses valid streams and recovers from stale or mismatched ones. | |
| TEST_CASE ("ocam2KCtrl stateString reports mode fps gain and setpoint", "[ocam2KCtrl]") | |
| Verify the stdCamera state string is assembled from the OCAM state members. | |
| TEST_CASE ("ocam2KCtrl stateStringValid requires OPERATING and on-target temperature control", "[ocam2KCtrl]") | |
| Verify the state string validity depends on operating state and temperature lock. | |
| TEST_CASE ("ocam2KCtrl configuration loading handles defaults and supported gain limits", "[ocam2KCtrl]") | |
| Verify OCAM-specific configuration values load defaults, overrides, and gain clamps. | |
| TEST_CASE ("ocam2KCtrl getTemps handles valid and malformed serial responses", "[ocam2KCtrl]") | |
| Verify temperature queries handle valid and malformed serial responses. | |
| TEST_CASE ("ocam2KCtrl getFPS handles valid and malformed serial responses", "[ocam2KCtrl]") | |
| Verify FPS queries handle valid and malformed serial responses, plus synchro mode. | |
| TEST_CASE ("ocam2KCtrl temperature control helpers handle valid and invalid requests", "[ocam2KCtrl]") | |
| Verify the temperature-control helpers handle safe, unsafe, and valid setpoint requests. | |
| TEST_CASE ("ocam2KCtrl setShutter rejects invalid shutter requests", "[ocam2KCtrl]") | |
| Verify the shutter adapter rejects invalid requests before touching the DSS threads. | |
| TEST_CASE ("ocam2KCtrl helper interfaces reset local state and power-off lifecycle flags", "[ocam2KCtrl]") | |
| Verify simple helper methods update local app state without hardware dependencies. | |
| TEST_CASE ("ocam2KCtrl startAcquisition resets frame tracking and starts EDT buffers", "[ocam2KCtrl]") | |
| Verify acquisition startup requests EDT buffering and resets the image counter. | |
| TEST_CASE ("ocam2KCtrl acquireAndCheckValid handles valid, skipped, and corrupt frame numbers", "[ocam2KCtrl]") | |
| Verify frame acquisition timestamps and frame-number handling across valid and invalid sequences. | |
| TEST_CASE ("ocam2KCtrl loadImageIntoStream uses the OCAM descramble output", "[ocam2KCtrl]") | |
| Verify the raw image pointer is passed through to the OCAM descramble routine. | |
| TEST_CASE ("ocam2KCtrl serial gain helpers handle valid and invalid responses", "[ocam2KCtrl]") | |
| Verify the serial gain helpers accept valid responses and handle malformed or tripped ones. | |
| TEST_CASE ("ocam2KCtrl serial setter commands send the expected sequence", "[ocam2KCtrl]") | |
| Verify the serial setter commands send the expected OCAM command sequence. | |
| TEST_CASE ("ocam2KCtrl configureAcquisition handles valid and invalid OCAM modes", "[ocam2KCtrl]") | |
| Verify acquisition configuration programs the OCAM mode and handles invalid frame shapes. | |
| TEST_CASE ("ocam2KCtrl INDI callbacks update local state", "[ocam2KCtrl]") | |
| Verify the INDI callbacks update confirmation state and sync-frequency-driven reconfiguration. | |
| TEST_CASE ("ocam2KCtrl static INDI callback wrappers forward requests to the instance", "[ocam2KCtrl]") | |
| Verify the generated static INDI wrappers forward into the instance callbacks. | |
| TEST_CASE ("ocam2KCtrl telemetry wrappers record snapshots and stale intervals", "[ocam2KCtrl]") | |
| Verify telemetry wrapper helpers emit their records and interval checks trigger stale telemetry. | |
| TEST_CASE ("ocam2KCtrl appLogic handles connection and housekeeping flow", "[ocam2KCtrl]") | |
| Verify appLogic covers connection transitions, error handling, and READY-state housekeeping. | |
| TEST_CASE ("ocam2KCtrl reconfig reloads the next mode through edtCamera", "[ocam2KCtrl]") | |
| Verify reconfiguration reloads the requested mode and leaves the app in READY. | |
| TEST_CASE ("ocam2KCtrl utility helpers parse temperature responses", "[ocamUtils]") | |
Verify parseTemps() accepts a valid OCAM temperature response and rejects truncated data. | |
| TEST_CASE ("ocam2KCtrl utility helpers parse gain responses", "[ocamUtils]") | |
Verify parseEMGain() accepts valid OCAM gain responses and rejects malformed strings. | |
Namespace for ocam2KCtrl lifecycle unit tests.
Namespace for ocam2KCtrl utility unit tests.
Namespace for ocam2KCtrl unit tests.