fsfw/unittests/tmtcservices/testStoreHelper.cpp

12 lines
431 B
C++
Raw Normal View History

2022-07-23 11:43:48 +02:00
#include <catch2/catch_test_macros.hpp>
2022-07-25 10:38:44 +02:00
#include "fsfw/storagemanager/LocalPool.h"
#include "fsfw/tmtcservices/TmStoreHelper.h"
#include "mocks/CdsShortTimestamperMock.h"
2022-07-25 10:38:44 +02:00
TEST_CASE("TM Store Helper", "[tm-store-helper]") {
auto timeStamper = CdsShortTimestamperMock();
2022-07-25 10:38:44 +02:00
LocalPool::LocalPoolConfig cfg = {{10, 32}, {5, 64}};
LocalPool pool(objects::NO_OBJECT, cfg);
auto storeHelper = TmStoreHelper(2, pool, timeStamper);
2022-07-25 10:38:44 +02:00
}