mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
FairMQ: Add unit tests for PAIR channel type
This commit is contained in:
committed by
Mohammad Al-Turany
parent
9b7841e89e
commit
72bc86f006
@@ -6,6 +6,8 @@
|
||||
* copied verbatim in the file "LICENSE" *
|
||||
********************************************************************************/
|
||||
|
||||
#include "devices/TestPairLeft.cxx"
|
||||
#include "devices/TestPairRight.cxx"
|
||||
#include "devices/TestPollIn.cxx"
|
||||
#include "devices/TestPollOut.cxx"
|
||||
#include "devices/TestPub.cxx"
|
||||
@@ -70,6 +72,14 @@ auto getDevice(const FairMQProgOptions& config) -> FairMQDevicePtr
|
||||
{
|
||||
return new PollIn;
|
||||
}
|
||||
else if (0 == id.find("pairleft_"))
|
||||
{
|
||||
return new PairLeft;
|
||||
}
|
||||
else if (0 == id.find("pairright_"))
|
||||
{
|
||||
return new PairRight;
|
||||
}
|
||||
else
|
||||
{
|
||||
cerr << "Don't know id '" << id << "'" << endl;
|
||||
|
Reference in New Issue
Block a user