2#include "../../../../tests/catch2/catch.hpp"
3#include "../generated/logCodes.hpp"
4#include "../types/ao_operator.hpp"
5#include "../types/flatbuffer_log.hpp"
44 CAoOperator_0(std::string fullName_, std::string pfoa_, std::string email_, std::string institution_) {
55 void* buffPtr = ao.builder.GetBufferPointer();
86 flatlogs::logHeader::createLog<MagAOX::logger::ao_operator>(logBuffer
94SCENARIO(
"Create ao_operator 0",
"[a log item]")
96 GIVEN(
"a ao_operator log code")
98 WHEN(
"random values for fields")
const std::string aoOperatorFullName_0
const std::string aoOperatorEmail_0
SCENARIO("Create ao_operator 0", "[a log item]")
const std::string aoOperatorPfoa_0
const std::string aoOperatorInstitution_0
std::string m_saveAoFullName
std::string m_saveAoInstitution
std::string m_saveAoEmail
bool verify(const typename MagAOX::logger::ao_operator::messageT &msg)
CAoOperator_0(std::string fullName_, std::string pfoa_, std::string email_, std::string institution_)
std::string m_institution
int8_t logPrioT
The type of the log priority code.
std::shared_ptr< char > bufferPtrT
The log entry buffer smart pointer.
const MagAOX::logger::Observer_fb * GetObserver_fb(const void *buf)
static constexpr logPrioT LOG_DEFAULT
Used to denote "use the default level for this log type".
The type of the input message.
static bool verify(flatlogs::bufferPtrT &logBuff, flatlogs::msgLenT len)
static flatlogs::msgLenT length(const fbMessage &msg)
Get the length of the message.
A fixed-width timespec structure.