/******************************************************************************** * Copyright (C) 2018-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * * * This software is distributed under the terms of the * * GNU Lesser General Public Licence (LGPL) version 3, * * copied verbatim in the file "LICENSE" * ********************************************************************************/ #include #include #include #include #include namespace { using namespace std; using namespace fair::mq::test; using Pair = TransportTest; TEST_P(Pair, SingleMsg_MultiThreaded_ipc) { auto const& transport = GetParam().transport; IpcAddress const address("pair"); auto const results = RunDevices({ {"pairleft_" + transport, "name=data,type=pair,method=bind,address=" + address.str()}, {"pairright_" + transport, "name=data,type=pair,method=connect,address=" + address.str()}, }, RunOptions(transport, GetParam().DeviceArgs())); for (auto const& result : results) { EXPECT_TRUE(Succeeded(result, transport)); } } INSTANTIATE_TEST_SUITE_P(, Pair, AllTransports(), TransportParamName()); } // namespace