Add more tests for custom main()

This commit is contained in:
Alexey Rybalchenko
2018-08-24 17:04:21 +02:00
committed by Dennis Klein
parent 2498837b8e
commit 7d5e76dece
14 changed files with 149 additions and 67 deletions

View File

@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2017 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2018 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
@@ -51,7 +51,7 @@ class MultipleDevices : public ::testing::Test {
FairMQChannel channel("push", "connect", "ipc://multiple-devices-test");
channel.UpdateRateLogging(0);
sender.fChannels["data"].push_back(channel);
sender.AddChannel("data", channel);
thread t(control, std::ref(sender));
@@ -73,7 +73,7 @@ class MultipleDevices : public ::testing::Test {
FairMQChannel channel("pull", "bind", "ipc://multiple-devices-test");
channel.UpdateRateLogging(0);
receiver.fChannels["data"].push_back(channel);
receiver.AddChannel("data", channel);
thread t(control, std::ref(receiver));