test: name the pair tests and devices after what they use

- the Pair tests use an ipc address, but their names said tcp
- add the missing separator in the req and sub device ids
  (sub_1zeromq -> sub_1_zeromq)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-11-03 14:01:22 +00:00
committed by Dennis Klein
parent 6fde1da288
commit 589f51c73a
3 changed files with 7 additions and 7 deletions

View File

@@ -69,17 +69,17 @@ auto RunPair(const string& transport, const string& extraDeviceCmdArgs) -> void
exit(pairleft.exit_code + pairright.exit_code);
}
TEST(Pair, SingleMsg_MultiThreaded_tcp_zeromq)
TEST(Pair, SingleMsg_MultiThreaded_ipc_zeromq)
{
EXPECT_EXIT(RunPair("zeromq", ""), ::testing::ExitedWithCode(0), "PAIR test successfull");
}
TEST(Pair, SingleMsg_MultiThreaded_tcp_shmem)
TEST(Pair, SingleMsg_MultiThreaded_ipc_shmem)
{
EXPECT_EXIT(RunPair("shmem", ""), ::testing::ExitedWithCode(0), "PAIR test successfull");
}
TEST(Pair, SingleMsg_MultiThreaded_tcp_shmem_expanded_metadata)
TEST(Pair, SingleMsg_MultiThreaded_ipc_shmem_expanded_metadata)
{
EXPECT_EXIT(RunPair("shmem", " --shm-metadata-msg-size 2048"), ::testing::ExitedWithCode(0), "PAIR test successfull");
}

View File

@@ -51,7 +51,7 @@ auto RunPubSub(string transport) -> void
thread sub1_thread([&]() {
stringstream cmd;
cmd << runTestDevice
<< " --id sub_1" << transport
<< " --id sub_1_" << transport
<< " --control static"
<< " --transport " << transport
<< " --session " << session
@@ -65,7 +65,7 @@ auto RunPubSub(string transport) -> void
thread sub2_thread([&]() {
stringstream cmd;
cmd << runTestDevice
<< " --id sub_2" << transport
<< " --id sub_2_" << transport
<< " --control static"
<< " --transport " << transport
<< " --session " << session

View File

@@ -48,7 +48,7 @@ auto RunReqRep(string transport, const string& extraDeviceCmdArgs) -> void
thread req1_thread([&]() {
stringstream cmd;
cmd << runTestDevice
<< " --id req_1" << transport
<< " --id req_1_" << transport
<< " --control static"
<< " --transport " << transport
<< " --shm-monitor true"
@@ -64,7 +64,7 @@ auto RunReqRep(string transport, const string& extraDeviceCmdArgs) -> void
thread req2_thread([&]() {
stringstream cmd;
cmd << runTestDevice
<< " --id req_2" << transport
<< " --id req_2_" << transport
<< " --control static"
<< " --transport " << transport
<< " --shm-monitor true"