Go to the documentation of this file.
30 #include <gtest/gtest.h>
34 #include <test_roscpp/TestWithHeader.h>
36 void callback(
const test_roscpp::TestWithHeaderConstPtr&)
41 TEST(TopicStatistics, empty_timestamp_crash_check)
52 test_roscpp::TestWithHeader msg;
53 msg.header.frame_id =
"foo";
64 int main(
int argc,
char **argv)
66 testing::InitGoogleTest(&argc, argv);
68 ros::init(argc, argv,
"stamped_topic_statistics_empty_timestamp");
70 return RUN_ALL_TESTS();
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
int main(int argc, char **argv)
ROSCPP_DECL void spinOnce()
void publish(const boost::shared_ptr< M > &message) const
Publisher advertise(AdvertiseOptions &ops)
TEST(TopicStatistics, empty_timestamp_crash_check)
Subscriber subscribe(const std::string &topic, uint32_t queue_size, const boost::function< void(C)> &callback, const VoidConstPtr &tracked_object=VoidConstPtr(), const TransportHints &transport_hints=TransportHints())
void callback(const test_roscpp::TestWithHeaderConstPtr &)
test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:57