Skip to content

Commit

Permalink
registration_test -> registration_test_2
Browse files Browse the repository at this point in the history
  • Loading branch information
rex-schilasky committed Aug 8, 2024
1 parent c56dc04 commit ea6eed2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion ecal/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ add_subdirectory(cpp/descgate_test)
add_subdirectory(cpp/config_test)

if(ECAL_CORE_REGISTRATION)
add_subdirectory(cpp/registration_test)
add_subdirectory(cpp/registration_test_2)
endif()

add_subdirectory(cpp/event_test)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#
# ========================= eCAL LICENSE =================================

project(test_registration)
project(test_registration_2)

find_package(Threads REQUIRED)
find_package(GTest REQUIRED)
Expand Down Expand Up @@ -52,7 +52,7 @@ target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_14)

ecal_install_gtest(${PROJECT_NAME})

set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER tests/cpp/registration)
set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER tests/cpp/registration_2)

source_group(TREE "${CMAKE_CURRENT_SOURCE_DIR}" FILES
${${PROJECT_NAME}_src}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ enum {
CMN_REGISTRATION_REFRESH_MS = (1000)
};

TEST(core_cpp_registration, ServiceExpiration)
TEST(core_cpp_registration_2, ServiceExpiration)
{
// initialize eCAL API
eCAL::Initialize(0, nullptr, "core_cpp_registration");
eCAL::Initialize(0, nullptr, "core_cpp_registration_2");

// enable loop back communication in the same process
eCAL::Util::EnableLoopback(true);
Expand Down Expand Up @@ -85,10 +85,10 @@ TEST(core_cpp_registration, ServiceExpiration)
eCAL::Finalize();
}

TEST(core_cpp_registration, ServiceEqualQualities)
TEST(core_cpp_registration_2, ServiceEqualQualities)
{
// initialize eCAL API
eCAL::Initialize(0, nullptr, "core_cpp_registration");
eCAL::Initialize(0, nullptr, "core_cpp_registration_2");

// enable loop back communication in the same process
eCAL::Util::EnableLoopback(true);
Expand Down Expand Up @@ -175,10 +175,10 @@ TEST(core_cpp_registration, ServiceEqualQualities)
eCAL::Finalize();
}

TEST(core_cpp_registration, ServiceDifferentQualities)
TEST(core_cpp_registration_2, ServiceDifferentQualities)
{
// initialize eCAL API
eCAL::Initialize(0, nullptr, "core_cpp_registration");
eCAL::Initialize(0, nullptr, "core_cpp_registration_2");

// enable loop back communication in the same process
eCAL::Util::EnableLoopback(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ enum {
CMN_REGISTRATION_REFRESH_MS = (1000)
};

TEST(core_cpp_registration, GetTopics)
TEST(core_cpp_registration_2, GetTopics)
{
// initialize eCAL API
eCAL::Initialize(0, nullptr, "core_cpp_registration");
eCAL::Initialize(0, nullptr, "core_cpp_registration_2");

// enable loop back communication in the same process
eCAL::Util::EnableLoopback(true);
Expand Down Expand Up @@ -135,14 +135,14 @@ TEST(core_cpp_registration, GetTopics)
eCAL::Finalize();
}

TEST(core_cpp_registration, GetTopicsParallel)
TEST(core_cpp_registration_2, GetTopicsParallel)
{
constexpr const int max_publisher_count(2000);
constexpr const int waiting_time_thread(4000);
constexpr const int parallel_threads(1);

// initialize eCAL API
eCAL::Initialize(0, nullptr, "core_cpp_registration");
eCAL::Initialize(0, nullptr, "core_cpp_registration_2");

// enable loop back communication in the same process
eCAL::Util::EnableLoopback(true);
Expand Down

0 comments on commit ea6eed2

Please sign in to comment.