Go to the documentation of this file.
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();
TEST(roscpp, parameterRemapping)
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
ROSCPP_DECL bool get(const std::string &key, bool &b)
ROSCPP_DECL std::string resolve(const std::string &name, bool remap=true)
int main(int argc, char **argv)
const ROSCPP_DECL std::string & getName()
T param(const std::string ¶m_name, const T &default_val)
test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:57