40 #include <gtest/gtest.h> 71 ASSERT_STREQ(node_name.c_str(),
"/a/name_remapped_with_ns");
74 main(
int argc,
char** argv)
76 testing::InitGoogleTest(&argc, argv);
77 ros::init( argc, argv,
"name_remapping_with_ns" );
80 return RUN_ALL_TESTS();
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROSCPP_DECL const std::string & getName()
ROSCPP_DECL std::string resolve(const std::string &name, bool remap=true)
int main(int argc, char **argv)
TEST(roscpp, parameterRemapping)
ROSCPP_DECL bool get(const std::string &key, std::string &s)