add more single and multithreaded unit tests

This commit is contained in:
Dennis Klein
2017-05-13 17:30:49 +02:00
committed by Mohammad Al-Turany
parent 3205e0c378
commit b5dab60a82
3 changed files with 165 additions and 4 deletions

View File

@@ -42,18 +42,18 @@ auto RunPushPull(string transport) -> void
exit(push.exit_code + pull.exit_code);
}
TEST(PushPull, ZeroMQ)
TEST(PushPull, MP_ZeroMQ__tcp____SingleMsg)
{
EXPECT_EXIT(RunPushPull("zeromq"), ::testing::ExitedWithCode(0), "PUSH-PULL test successfull");
}
TEST(PushPull, ShMem)
TEST(PushPull, MP_ShMem___tcp____SingleMsg)
{
EXPECT_EXIT(RunPushPull("shmem"), ::testing::ExitedWithCode(0), "PUSH-PULL test successfull");
}
#ifdef NANOMSG_FOUND
TEST(PushPull, Nanomsg)
TEST(PushPull, MP_Nanomsg_tcp____SingleMsg)
{
EXPECT_EXIT(RunPushPull("nanomsg"), ::testing::ExitedWithCode(0), "PUSH-PULL test successfull");
}