API
 
Loading...
Searching...
No Matches
streamWriter_lifecycle_test.cpp File Reference

Catch2 lifecycle and configuration tests for the streamWriter app. More...

#include "../../../tests/testXWC.hpp"
#include <chrono>
#include <cstdlib>
#include <filesystem>
#include <fstream>
#include <memory>
#include <optional>
#include <stdexcept>
#include <thread>
#include "../streamWriter.hpp"
Include dependency graph for streamWriter_lifecycle_test.cpp:

Go to the source code of this file.

Namespaces

namespace  libXWCTest
 Namespace for all libXWC tests.
 
namespace  libXWCTest::streamWriterTest
 Namespace for streamWriter lifecycle unit tests.
 

Macros

#define protected   public
 

Functions

 libXWCTest::streamWriterTest::TEST_CASE ("streamWriter configuration loads defaults and overrides", "[streamWriter]")
 Verify setupConfig() and loadConfig() preserve defaults, overrides, and clamp invalid accelerations.
 
 libXWCTest::streamWriterTest::TEST_CASE ("streamWriter lifecycle handles startup validation and nominal shutdown", "[streamWriter]")
 Verify appStartup(), appLogic(), and appShutdown() cover the basic streamWriter lifecycle.
 
 libXWCTest::streamWriterTest::TEST_CASE ("streamWriter appLogic reports backlog and save status", "[streamWriter]")
 Verify streamWriter publishes backlog summaries, INDI status, and save telemetry from the main loop.
 
 libXWCTest::streamWriterTest::TEST_CASE ("streamWriter fgThreadExec ingests stream data and manages write scheduling", "[streamWriter]")
 Verify fgThreadExec() ingests shmim frames, tracks gaps, and schedules save work.
 

Detailed Description

Catch2 lifecycle and configuration tests for the streamWriter app.

Author
OpenAI Codex

Definition in file streamWriter_lifecycle_test.cpp.

Macro Definition Documentation

◆ protected

#define protected   public

Definition at line 19 of file streamWriter_lifecycle_test.cpp.