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

Namespace for flowRPM unit tests. More...

Functions

 TEST_CASE ("flowRPM configuration defaults load correctly", "[flowRPM]")
 Verify default flowRPM configuration values are loaded.
 
 TEST_CASE ("flowRPM configuration overrides load correctly", "[flowRPM]")
 Verify configured flowRPM overrides are loaded.
 
 TEST_CASE ("flowRPM loadConfig sets shutdown on configuration failure", "[flowRPM]")
 Verify loadConfig() requests shutdown when configuration loading fails.
 
 TEST_CASE ("flowRPM helper token parsing handles whitespace-only input", "[flowRPM]")
 Verify trimToken() removes surrounding whitespace and handles blank tokens.
 
 TEST_CASE ("flowRPM helper logical-line splitting handles CRLF and blank lines", "[flowRPM]")
 Verify splitLogicalLines() removes CRLF suffixes and ignores blank lines.
 
 TEST_CASE ("flowRPM parseResult defaults to the invalid sentinel state", "[flowRPM]")
 Verify the default-initialized parseResult sentinel state.
 
 TEST_CASE ("flowRPM timestamp parsing covers valid and malformed inputs", "[flowRPM]")
 Verify parseTimestamp() accepts valid input and rejects malformed timestamps.
 
 TEST_CASE ("flowRPM record-line parsing covers all parse branches", "[flowRPM]")
 Verify parseRecordLine() covers the accepted and rejected record formats.
 
 TEST_CASE ("flowRPM file parsing", "[flowRPM]")
 Verify parseFileContents() handles valid, invalid, and stale two-line inputs.
 
 TEST_CASE ("flowRPM reads and parses configured files", "[flowRPM]")
 Verify readAndParse() reads through the configured path and handles missing files.
 
 TEST_CASE ("flowRPM appStartup initializes state and published status", "[flowRPM]")
 Verify appStartup() initializes the published state and transitions to READY.
 
 TEST_CASE ("flowRPM appShutdown completes cleanly", "[flowRPM]")
 Verify appShutdown() completes cleanly.
 
 TEST_CASE ("flowRPM log backoff is per error key and interval", "[flowRPM]")
 Verify repeated error logging is rate-limited per status key.
 
 TEST_CASE ("flowRPM recordTelem forces telemetry bookkeeping refresh", "[flowRPM]")
 Verify recordTelem() forces the telemeter bookkeeping update.
 
 TEST_CASE ("flowRPM appLogic drives end-to-end display-state updates", "[flowRPM]")
 Verify appLogic() executes the nominal runtime control flow.
 
 TEST_CASE ("flowRPM appLogic returns errors when internal steps fail", "[flowRPM]")
 Verify appLogic() returns errors when internal runtime steps fail.
 
 TEST_CASE ("flowRPM display-state reconciliation", "[flowRPM]")
 Verify reconcileResult() and publishResult() manage held and invalid display state.
 
 TEST_CASE ("flowRPM statusKey maps parse statuses consistently", "[flowRPM]")
 Verify statusKey() maps every parser status to a stable log key.
 

Detailed Description

Namespace for flowRPM unit tests.