From d8e794d43864174f8463ab79a750d3e5f0b17f8b Mon Sep 17 00:00:00 2001 From: Rainer Kartmann <rainer.kartmann@kit.edu> Date: Thu, 14 Jan 2021 17:26:22 +0100 Subject: [PATCH] Update test --- .../RobotAPI/libraries/armem/test/ArMemMemoryTest.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/RobotAPI/libraries/armem/test/ArMemMemoryTest.cpp b/source/RobotAPI/libraries/armem/test/ArMemMemoryTest.cpp index e0e62360b..f92646ced 100644 --- a/source/RobotAPI/libraries/armem/test/ArMemMemoryTest.cpp +++ b/source/RobotAPI/libraries/armem/test/ArMemMemoryTest.cpp @@ -31,7 +31,7 @@ #include <iostream> -#include <RobotAPI/libraries/aron/aroncore/navigators/datanavigator/AronPrimitiveDataNavigator.h> +#include <RobotAPI/libraries/aron/aroncore/navigators/datanavigator/AronDictDataNavigator.h> namespace armem = armarx::armem; @@ -114,8 +114,8 @@ BOOST_AUTO_TEST_CASE(test_segment_setup) update.entityID = armem::MemoryID::fromString("Memory/ImageRGB/SomeRGBImageProvider/image"); update.instancesData = { - std::make_shared<aron::datanavigator::AronIntDataNavigator>(), - std::make_shared<aron::datanavigator::AronIntDataNavigator>() + std::make_shared<aron::datanavigator::AronDictDataNavigator>(), + std::make_shared<aron::datanavigator::AronDictDataNavigator>() }; update.timeCreated = armem::Time::milliSeconds(1000); BOOST_CHECK_NO_THROW(providerSegment.update(update)); @@ -135,7 +135,7 @@ BOOST_AUTO_TEST_CASE(test_segment_setup) // Another update (on memory). - update.instancesData = { std::make_shared<aron::datanavigator::AronIntDataNavigator>() }; + update.instancesData = { std::make_shared<aron::datanavigator::AronDictDataNavigator>() }; update.timeCreated = armem::Time::milliSeconds(2000); memory->update(update); BOOST_CHECK_EQUAL(entity.history.size(), 2); @@ -144,7 +144,7 @@ BOOST_AUTO_TEST_CASE(test_segment_setup) // A third update (on entity). - update.instancesData = { std::make_shared<aron::datanavigator::AronIntDataNavigator>() }; + update.instancesData = { std::make_shared<aron::datanavigator::AronDictDataNavigator>() }; update.timeCreated = armem::Time::milliSeconds(3000); entity.update(update); BOOST_CHECK_EQUAL(entity.history.size(), 3); -- GitLab