1 #include <gtest/gtest.h>
4 #include "behaviortree_cpp/loggers/bt_zmq_publisher.h"
6 TEST(LoggerZMQ, ZMQLoggerDeletesCleanlyAfterTickingTree)
9 static constexpr
auto XML = R
"(
10 <root BTCPP_format="4">
12 <SetBlackboard output_key="arg1" value="1" />
20 BT::PublisherZMQ zmq_logger{ tree, 1 };
29 TEST(LoggerZMQ, ZMQLoggerDeletesCleanlyAfterNotTickingTree)
32 static constexpr
auto XML = R
"(
33 <root BTCPP_format="4">
35 <SetBlackboard output_key="arg1" value="1" />
43 BT::PublisherZMQ zmq_logger{ tree, 1 };