2022-08-08 12:41:05 +02:00
|
|
|
#include <catch2/catch_test_macros.hpp>
|
|
|
|
|
2022-08-09 15:46:42 +02:00
|
|
|
#include "fsfw/cfdp.h"
|
2022-08-17 17:09:39 +02:00
|
|
|
#include "mocks/FilesystemMock.h"
|
2022-08-09 19:00:47 +02:00
|
|
|
#include "mocks/cfdp/FaultHandlerMock.h"
|
2022-08-17 17:09:39 +02:00
|
|
|
#include "mocks/cfdp/RemoteConfigTableMock.h"
|
2022-08-10 11:09:07 +02:00
|
|
|
#include "mocks/cfdp/UserMock.h"
|
2022-08-10 15:03:53 +02:00
|
|
|
|
2022-08-09 15:46:42 +02:00
|
|
|
TEST_CASE("CFDP Dest Handler", "[cfdp]") {
|
|
|
|
using namespace cfdp;
|
2022-08-09 16:36:35 +02:00
|
|
|
EntityId localId = EntityId(UnsignedByteField<uint16_t>(2));
|
2022-08-09 19:00:47 +02:00
|
|
|
auto fhMock = FaultHandlerMock();
|
2022-08-09 16:36:35 +02:00
|
|
|
auto localEntityCfg = LocalEntityCfg(localId, IndicationCfg(), fhMock);
|
2022-08-17 17:09:39 +02:00
|
|
|
auto fsMock = FilesystemMock();
|
|
|
|
auto userMock = UserMock(fsMock);
|
|
|
|
auto remoteCfgTableMock = RemoteConfigTableMock();
|
2022-08-17 18:49:51 +02:00
|
|
|
// auto destHandler = DestHandler(localEntityCfg, userMock, remoteCfgTableMock);
|
2022-08-09 15:46:42 +02:00
|
|
|
|
|
|
|
SECTION("State") {}
|
|
|
|
}
|