Remove FairMQChannel from parser, implement bulk operations

This commit is contained in:
Alexey Rybalchenko
2019-05-24 15:54:34 +02:00
committed by Dennis Klein
parent fbb003b50f
commit bf8ec968e7
17 changed files with 568 additions and 559 deletions

View File

@@ -114,7 +114,7 @@ class Config : public ::testing::Test
channel.UpdateType("pub");
channel.UpdateMethod("connect");
channel.UpdateAddress("tcp://localhost:5558");
device.AddChannel("data", channel);
device.AddChannel("data", std::move(channel));
thread t(control, ref(device));
@@ -143,7 +143,7 @@ class Config : public ::testing::Test
channel.UpdateType("pub");
channel.UpdateMethod("connect");
channel.UpdateAddress("tcp://localhost:5558");
device.AddChannel("data", channel);
device.AddChannel("data", std::move(channel));
thread t(&FairMQDevice::RunStateMachine, &device);

View File

@@ -57,7 +57,7 @@ class MultipleDevices : public ::testing::Test {
FairMQChannel channel("push", "connect", "ipc://multiple-devices-test");
channel.UpdateRateLogging(0);
sender.AddChannel("data", channel);
sender.AddChannel("data", std::move(channel));
thread t(control, std::ref(sender));
@@ -78,7 +78,7 @@ class MultipleDevices : public ::testing::Test {
FairMQChannel channel("pull", "bind", "ipc://multiple-devices-test");
channel.UpdateRateLogging(0);
receiver.AddChannel("data", channel);
receiver.AddChannel("data", std::move(channel));
thread t(control, std::ref(receiver));