added base for tm store test

This commit is contained in:
Robin Müller 2022-07-25 10:38:44 +02:00
parent 4921527022
commit 63ee88af17
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
2 changed files with 9 additions and 2 deletions

View File

@ -81,7 +81,7 @@ class LocalPool : public SystemObject, public StorageManagerIF {
/** /**
* @brief In the LocalPool's destructor all allocated memory is freed. * @brief In the LocalPool's destructor all allocated memory is freed.
*/ */
virtual ~LocalPool(void); ~LocalPool() override;
/** /**
* Documentation: See StorageManagerIF.h * Documentation: See StorageManagerIF.h

View File

@ -1,3 +1,10 @@
#include <catch2/catch_test_macros.hpp> #include <catch2/catch_test_macros.hpp>
TEST_CASE("TM Store Helper", "[tm-store-helper]") {} #include "fsfw/storagemanager/LocalPool.h"
#include "fsfw/tmtcservices/TmStoreHelper.h"
TEST_CASE("TM Store Helper", "[tm-store-helper]") {
LocalPool::LocalPoolConfig cfg = {{10, 32}, {5, 64}};
LocalPool pool(objects::NO_OBJECT, cfg);
auto storeHelper = TmStoreHelper(2, &pool);
}