refactor periodic HK helpers
This commit is contained in:
@ -40,7 +40,7 @@ TEST_CASE("Local Pool Manager Tests", "[LocManTest]") {
|
||||
SECTION("Basic Test") {
|
||||
{
|
||||
/* For code coverage, should not crash */
|
||||
LocalDataPoolManager manager(nullptr, nullptr);
|
||||
PeriodicHkGenerationHelper manager(nullptr, nullptr);
|
||||
}
|
||||
auto owner = poolOwner.poolManager.getOwner();
|
||||
REQUIRE(owner != nullptr);
|
||||
@ -150,7 +150,7 @@ TEST_CASE("Local Pool Manager Tests", "[LocManTest]") {
|
||||
|
||||
SECTION("VariableSnapshotTest") {
|
||||
/* Acquire subscription interface */
|
||||
ProvidesDataPoolSubscriptionIF* subscriptionIF = poolOwner.getSubscriptionInterface();
|
||||
PeriodicHkGenerationProviderIF* subscriptionIF = poolOwner.getSubscriptionInterface();
|
||||
REQUIRE(subscriptionIF != nullptr);
|
||||
|
||||
/* Subscribe for variable snapshot */
|
||||
@ -208,7 +208,7 @@ TEST_CASE("Local Pool Manager Tests", "[LocManTest]") {
|
||||
|
||||
SECTION("VariableNotificationTest") {
|
||||
/* Acquire subscription interface */
|
||||
ProvidesDataPoolSubscriptionIF* subscriptionIF = poolOwner.getSubscriptionInterface();
|
||||
PeriodicHkGenerationProviderIF* subscriptionIF = poolOwner.getSubscriptionInterface();
|
||||
REQUIRE(subscriptionIF != nullptr);
|
||||
|
||||
/* Subscribe for variable update */
|
||||
|
Reference in New Issue
Block a user