added base for tm store test
fsfw/fsfw/pipeline/pr-development This commit looks good
Details
fsfw/fsfw/pipeline/pr-development This commit looks good
Details
This commit is contained in:
parent
4921527022
commit
63ee88af17
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
|
}
|
Loading…
Reference in New Issue