API
 
Loading...
Searching...
No Matches
libXWCTest::cred2CtrlTest Namespace Reference

Namespace for cred2Ctrl lifecycle unit tests. More...

Functions

 TEST_CASE ("cred2Ctrl lifecycle entrypoints handle startup failures and success", "[cred2Ctrl]")
 Verify lifecycle entrypoints cover startup failure handling and successful startup cleanup.
 
 TEST_CASE ("cred2Ctrl configuration loading writes a runtime EDT config", "[cred2Ctrl]")
 Verify configuration loading writes the runtime EDT config and applies overrides.
 
 TEST_CASE ("cred2Ctrl helper mappings normalize responses and preset names", "[cred2Ctrl]")
 Verify local response helpers cover the C-RED 2-specific preset mappings.
 
 TEST_CASE ("cred2Ctrl command helpers clean responses and validate acknowledgements", "[cred2Ctrl]")
 Verify serial helper wrappers clean responses and report transport failures consistently.
 
 TEST_CASE ("cred2Ctrl syncROIFromCamera tracks camera cropping state", "[cred2Ctrl]")
 Verify ROI synchronization handles full-frame, cropped, and reconfiguring camera states.
 
 TEST_CASE ("cred2Ctrl getter helpers parse temperatures fps and limits", "[cred2Ctrl]")
 Verify the primary getter helpers update cached state and tolerate malformed responses.
 
 TEST_CASE ("cred2Ctrl discrete getter helpers cover fallback parsing paths", "[cred2Ctrl]")
 Verify the remaining getter helpers parse discrete fan gain and LED state.
 
 TEST_CASE ("cred2Ctrl setter helpers validate bounds and update state", "[cred2Ctrl]")
 Verify the setter helpers validate bounds and send the expected serial commands.
 
 TEST_CASE ("cred2Ctrl framegrabber helpers manage acquisition and ROI configuration", "[cred2Ctrl]")
 Verify framegrabber-facing helpers cover acquisition, copying, and reconfiguration logic.
 
 TEST_CASE ("cred2Ctrl telemetry wrappers and power-off helpers update cached state", "[cred2Ctrl]")
 Verify telemetry wrappers emit their records and helper lifecycle methods reset cached state.
 
 TEST_CASE ("cred2Ctrl appLogic handles connection and housekeeping flow", "[cred2Ctrl]")
 Verify appLogic covers connection transitions, steady-state refresh, and hardware-loss handling.
 
 TEST_CASE ("cred2Ctrl utility helpers clean CLI responses", "[cred2Utils]")
 Verify cred2CleanResponse() strips prompts and trailing line endings.
 
 TEST_CASE ("cred2Ctrl utility helpers parse float responses", "[cred2Utils]")
 Verify cred2ParseFloat() accepts valid values and rejects non-numeric responses.
 
 TEST_CASE ("cred2Ctrl utility helpers parse float-vector responses", "[cred2Utils]")
 Verify cred2ParseFloatVector() enforces both parsing and element-count expectations.
 
 TEST_CASE ("cred2Ctrl utility helpers parse range responses", "[cred2Utils]")
 Verify cred2ParseRange() extracts the encoded bounds from valid responses.
 
 TEST_CASE ("cred2Ctrl utility helpers parse boolean responses", "[cred2Utils]")
 Verify cred2ParseBool() translates textual on/off responses into booleans.
 
 TEST_CASE ("cred2Ctrl utility helpers parse crop responses", "[cred2Utils]")
 Verify cred2ParseCropState() unpacks the enabled flag and ROI bounds.
 
 TEST_CASE ("cred2Ctrl utility helpers format ROI commands", "[cred2Utils]")
 Verify the C-RED 2 ROI conversion helpers translate between center/size and corner commands.
 

Detailed Description

Namespace for cred2Ctrl lifecycle unit tests.

Namespace for cred2Ctrl utility unit tests.

Namespace for cred2Ctrl unit tests.