2#include "../../../../tests/catch2/catch.hpp"
3#include "../generated/logCodes.hpp"
4#include "../types/telem_chrony_status.hpp"
5#include "../types/generated/telem_chrony_status_generated.h"
6#include "../types/flatbuffer_log.hpp"
56 void* buffPtr = tcs.builder.GetBufferPointer();
87 flatlogs::logHeader::createLog<MagAOX::logger::telem_chrony_status>(logBuffer
95SCENARIO(
"Create telem_chrony_status 0",
"[a log item]")
97 GIVEN(
"a telem_chrony_status log code")
99 WHEN(
"random values for fields")
std::string m_saveTcsSync
CTelemChronyStatus_0(std::string mac_, std::string ip_, std::string sync_, std::string leap_)
bool verify(const typename MagAOX::logger::telem_chrony_status::messageT &msg)
std::string m_saveTcsLeap
int8_t logPrioT
The type of the log priority code.
std::shared_ptr< char > bufferPtrT
The log entry buffer smart pointer.
const MagAOX::logger::Telem_chrony_status_fb * GetTelem_chrony_status_fb(const void *buf)
static constexpr logPrioT LOG_DEFAULT
Used to denote "use the default level for this log type".
static flatlogs::msgLenT length(const fbMessage &msg)
Get the length of the message.
The type of the input message.
static bool verify(flatlogs::bufferPtrT &logBuff, flatlogs::msgLenT len)
A fixed-width timespec structure.
const std::string telemChronyStatusIp_0
const std::string telemChronyStatusMac_0
const std::string telemChronyStatusLeap_0
SCENARIO("Create telem_chrony_status 0", "[a log item]")
const std::string telemChronyStatusSync_0