mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
test: Add data transfer and checks to protocol tests
This commit is contained in:
committed by
Dennis Klein
parent
f278e7e312
commit
3decac58fc
@@ -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