diff --git a/source/RobotAPI/components/armem/client/ExampleMemoryClient/ExampleMemoryClient.cpp b/source/RobotAPI/components/armem/client/ExampleMemoryClient/ExampleMemoryClient.cpp index 8ae42e00bd5385886696dd6ead35feb927665947..3820d198d5ccfc758d46778f253028febc1fd81e 100644 --- a/source/RobotAPI/components/armem/client/ExampleMemoryClient/ExampleMemoryClient.cpp +++ b/source/RobotAPI/components/armem/client/ExampleMemoryClient/ExampleMemoryClient.cpp @@ -262,16 +262,16 @@ namespace armarx { armem::wm::Memory& memory = qResult.memory; - ARMARX_CHECK_EQUAL(memory.coreSegments().size(), 1); + ARMARX_CHECK_EQUAL(memory.size(), 1); armem::wm::CoreSegment& coreSeg = memory.coreSegments().begin()->second; ARMARX_CHECK_EQUAL(coreSeg.providerSegments().size(), 1); armem::wm::ProviderSegment& provSeg = coreSeg.providerSegments().begin()->second; - ARMARX_CHECK_EQUAL(provSeg.entities().size(), 1); + ARMARX_CHECK_EQUAL(provSeg.size(), 1); armem::wm::Entity& entity = provSeg.entities().begin()->second; - ARMARX_CHECK_GREATER_EQUAL(entity.history().size(), 1); + ARMARX_CHECK_GREATER_EQUAL(entity.size(), 1); armem::wm::EntitySnapshot& snapshot = entity.history().begin()->second; ARMARX_INFO << "Result: " diff --git a/source/RobotAPI/components/armem/server/ExampleMemory/test/ExampleMemoryTest.cpp b/source/RobotAPI/components/armem/server/ExampleMemory/test/ExampleMemoryTest.cpp index c5ba35a13aa4ec127f64d0992021d29262d54407..56c9d08f49759de2f75c8085551ea63fb9263935 100644 --- a/source/RobotAPI/components/armem/server/ExampleMemory/test/ExampleMemoryTest.cpp +++ b/source/RobotAPI/components/armem/server/ExampleMemory/test/ExampleMemoryTest.cpp @@ -41,7 +41,7 @@ BOOST_AUTO_TEST_CASE(test_ExampleData_type) { armarx::aron::typenavigator::ObjectNavigatorPtr type = ExampleData::toAronType(); - BOOST_CHECK_EQUAL(type->childrenSize(), 15); + BOOST_CHECK_EQUAL(type->childrenSize(), 16); armem::wm::Memory memory; armem::wm::CoreSegment& core = memory.addCoreSegment("ExampleData", type); diff --git a/source/RobotAPI/libraries/armem/test/ArMemLTMTest.cpp b/source/RobotAPI/libraries/armem/test/ArMemLTMTest.cpp index 24c0a22203aae81bfc52802a9f48fbb9755c9c5f..01b3756af2e4f9955d9ac1e0cd60af3d0fbc6c06 100644 --- a/source/RobotAPI/libraries/armem/test/ArMemLTMTest.cpp +++ b/source/RobotAPI/libraries/armem/test/ArMemLTMTest.cpp @@ -122,7 +122,7 @@ namespace ArMemLTMTest update.instancesData = q; update.timeCreated = armem::Time::now(); BOOST_CHECK_NO_THROW(providerSegment.update(update)); - BOOST_CHECK_EQUAL(providerSegment.entities().size(), 1); + BOOST_CHECK_EQUAL(providerSegment.size(), 1); } BOOST_CHECK(providerSegment.hasEntity("TestEntity"));