38 #include <gtest/gtest.h> 44 #include <test_roscpp/TestArray.h> 49 void callback(
const test_roscpp::TestArrayConstPtr&)
58 try_count = atoi(
g_argv[1]);
61 for (
int i = 0; i < try_count; ++i )
77 main(
int argc,
char** argv)
79 testing::InitGoogleTest(&argc, argv);
82 return RUN_ALL_TESTS();
Subscriber subscribe(const std::string &topic, uint32_t queue_size, void(T::*fp)(M), T *obj, const TransportHints &transport_hints=TransportHints())
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
int main(int argc, char **argv)
void callback(const test_roscpp::TestArrayConstPtr &)
ROSCPP_DECL void shutdown()
TEST(roscpp, multipleInitAndFini)