mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Fix throw after quit signal case
This commit is contained in:
committed by
Dennis Klein
parent
e39316c866
commit
cb199e7283
@@ -45,7 +45,10 @@ void RunExceptionIn(const std::string& state)
|
||||
exit(result.exit_code);
|
||||
}
|
||||
|
||||
TEST(Exceptions, InInit) { EXPECT_EXIT(RunExceptionIn("Init"), ::testing::ExitedWithCode(1), ""); }
|
||||
TEST(Exceptions, InInit)
|
||||
{
|
||||
EXPECT_EXIT(RunExceptionIn("Init"), ::testing::ExitedWithCode(1), "");
|
||||
}
|
||||
TEST(Exceptions, InInitTask)
|
||||
{
|
||||
EXPECT_EXIT(RunExceptionIn("InitTask"), ::testing::ExitedWithCode(1), "");
|
||||
@@ -54,7 +57,10 @@ TEST(Exceptions, InPreRun)
|
||||
{
|
||||
EXPECT_EXIT(RunExceptionIn("PreRun"), ::testing::ExitedWithCode(1), "");
|
||||
}
|
||||
TEST(Exceptions, InRun) { EXPECT_EXIT(RunExceptionIn("Run"), ::testing::ExitedWithCode(1), ""); }
|
||||
TEST(Exceptions, InRun)
|
||||
{
|
||||
EXPECT_EXIT(RunExceptionIn("Run"), ::testing::ExitedWithCode(1), "");
|
||||
}
|
||||
TEST(Exceptions, InPostRun)
|
||||
{
|
||||
EXPECT_EXIT(RunExceptionIn("PostRun"), ::testing::ExitedWithCode(1), "");
|
||||
|
Reference in New Issue
Block a user