fsfw/unittests/cfdp/handler/testReservedMsgParser.cpp

19 lines
569 B
C++

#include <catch2/catch_test_macros.hpp>
#include "fsfw/cfdp/handler/ReservedMessageParser.h"
#include "mocks/MessageQueueMock.h"
#include "mocks/StorageManagerMock.h"
TEST_CASE("Reserved Message Parser", "[cfdp]") {
using namespace cfdp;
using namespace returnvalue;
MessageQueueId_t destQueueId = 2;
MessageQueueMock msgQueue(destQueueId);
LocalPool::LocalPoolConfig storeCfg = {{10, 32}, {10, 64}, {10, 128}, {10, 1024}};
StorageManagerMock ipcStore(0, storeCfg);
ReservedMessageParser parser(ipcStore, msgQueue, destQueueId);
// parser.parse()
}