mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Add more tests for custom main()
This commit is contained in:
committed by
Dennis Klein
parent
2498837b8e
commit
7d5e76dece
@@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user