mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
test: Add data transfer and checks to protocol tests
This commit is contained in:
committed by
Dennis Klein
parent
368d42cb32
commit
73558a1c95
@@ -25,8 +25,12 @@ class Push : public Device
|
||||
|
||||
auto Run() -> void override
|
||||
{
|
||||
auto msg = NewMessage();
|
||||
Send(msg, "data");
|
||||
// empty message
|
||||
auto msg1 = NewMessageFor("data", 0);
|
||||
Send(msg1, "data");
|
||||
// message with short text data
|
||||
auto msg2(NewSimpleMessageFor("data", 0, "testdata1234"));
|
||||
Send(msg2, "data");
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user