36 #include <gtest/gtest.h> 43 #include <test_roscpp/TestStringString.h> 47 TEST(SrvCall, callPhantomService)
50 for(
int i = 0; i < 200; ++i)
54 test_roscpp::TestStringString::Request req;
55 test_roscpp::TestStringString::Request res;
56 ASSERT_FALSE(handle.
call(req, res));
61 main(
int argc,
char** argv)
63 testing::InitGoogleTest(&argc, argv);
70 int ret = RUN_ALL_TESTS();
ServiceClient serviceClient(const std::string &service_name, bool persistent=false, const M_string &header_values=M_string())
TEST(SrvCall, callPhantomService)
int main(int argc, char **argv)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
bool call(MReq &req, MRes &res)