mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Don't use to-be-deprecated names
This commit is contained in:
committed by
Dennis Klein
parent
f15f669853
commit
bfd08bb33f
@@ -9,17 +9,19 @@
|
||||
#ifndef FAIR_MQ_TEST_FIXTURE
|
||||
#define FAIR_MQ_TEST_FIXTURE
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <fairmq/PluginServices.h>
|
||||
#include <FairMQDevice.h>
|
||||
#include <fairmq/Device.h>
|
||||
#include <fairmq/ProgOptions.h>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <memory>
|
||||
#include <thread>
|
||||
|
||||
namespace fair::mq::test
|
||||
{
|
||||
|
||||
inline auto control(FairMQDevice& device) -> void
|
||||
inline auto control(fair::mq::Device& device) -> void
|
||||
{
|
||||
device.ChangeState(fair::mq::Transition::InitDevice);
|
||||
device.WaitForState(fair::mq::State::InitializingDevice);
|
||||
@@ -42,7 +44,7 @@ struct PluginServices : ::testing::Test {
|
||||
, mServices(mConfig, mDevice)
|
||||
, fRunStateMachineThread()
|
||||
{
|
||||
fRunStateMachineThread = std::thread(&FairMQDevice::RunStateMachine, &mDevice);
|
||||
fRunStateMachineThread = std::thread(&fair::mq::Device::RunStateMachine, &mDevice);
|
||||
mDevice.SetTransport("zeromq");
|
||||
}
|
||||
|
||||
@@ -55,7 +57,7 @@ struct PluginServices : ::testing::Test {
|
||||
}
|
||||
|
||||
fair::mq::ProgOptions mConfig;
|
||||
FairMQDevice mDevice;
|
||||
fair::mq::Device mDevice;
|
||||
fair::mq::PluginServices mServices;
|
||||
std::thread fRunStateMachineThread;
|
||||
};
|
||||
|
Reference in New Issue
Block a user