36 #include <gtest/gtest.h> 49 TEST(CheckMaster, checkMaster)
54 int main(
int argc,
char** argv)
56 testing::InitGoogleTest(&argc, argv);
63 ROS_ERROR(
"Usage: check_master [yes|no]");
70 setenv(
"ROS_MASTER_URI",
"http://invalid_host_name_blahahahahahahahahahahaha:11311", 1);
71 std::cout << getenv(
"ROS_MASTER_URI") << std::endl;
76 return RUN_ALL_TESTS();
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
std::vector< std::string > V_string
TEST(CheckMaster, checkMaster)
int main(int argc, char **argv)
ROSCPP_DECL void removeROSArgs(int argc, const char *const *argv, V_string &args_out)