From 5aed387e6d063e5b4bfa94edeabcd676e284b916 Mon Sep 17 00:00:00 2001 From: Rainer Kartmann <rainer.kartmann@kit.edu> Date: Tue, 27 Apr 2021 22:02:42 +0200 Subject: [PATCH] Tweak test name, add condition --- source/RobotAPI/libraries/armem/test/ArMemMemoryTest.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/RobotAPI/libraries/armem/test/ArMemMemoryTest.cpp b/source/RobotAPI/libraries/armem/test/ArMemMemoryTest.cpp index 8de62148f..a30132549 100644 --- a/source/RobotAPI/libraries/armem/test/ArMemMemoryTest.cpp +++ b/source/RobotAPI/libraries/armem/test/ArMemMemoryTest.cpp @@ -77,7 +77,8 @@ BOOST_AUTO_TEST_CASE(test_time_to_string) BOOST_CHECK_EQUAL(armem::toDateTimeMilliSeconds(time, 6), "1970-01-02 07:51:51.345000"); } -BOOST_AUTO_TEST_CASE(test_ctors) + +BOOST_AUTO_TEST_CASE(test_key_ctors) { armem::wm::EntityInstance instance(10); BOOST_CHECK_EQUAL(instance.index(), 10); @@ -98,6 +99,7 @@ BOOST_AUTO_TEST_CASE(test_ctors) BOOST_CHECK_EQUAL(memory.name(), "memory"); } + BOOST_AUTO_TEST_CASE(test_segment_setup) { armem::EntityUpdate update; @@ -326,4 +328,6 @@ BOOST_AUTO_TEST_CASE(test_copy_move_ctors_ops) test_the_copy_move_ctors_ops<armem::d_ltm::ProviderSegment>(); test_the_copy_move_ctors_ops<armem::d_ltm::CoreSegment>(); test_the_copy_move_ctors_ops<armem::d_ltm::Memory>(); + + BOOST_CHECK(true); } -- GitLab