36 #include <gtest/gtest.h> 39 #include <test_roscpp/TestStringString.h> 55 test_roscpp::TestStringString::Response &)
96 for(
int i=0;i<100;i++)
100 ASSERT_TRUE(
unadv());
121 ros::init(argc, argv,
"service_adv_unadv");
122 testing::InitGoogleTest(&argc, argv);
125 return RUN_ALL_TESTS();
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ServiceServer advertiseService(const std::string &service, bool(T::*srv_func)(MReq &, MRes &), T *obj)
TEST_F(ServiceAdvertiser, advUnadv)
int main(int argc, char **argv)
bool srvCallback(test_roscpp::TestStringString::Request &, test_roscpp::TestStringString::Response &)