31 #include <gtest/gtest.h> 39 TEST(NodeletConsole, TEST_CONSOLE)
43 std::string nodelet_name =
"test_console";
44 std::string nodelet_type =
"test_nodelet/ConsoleTest";
45 std::vector<std::string> argvs;
46 EXPECT_TRUE(n.
load(nodelet_name, nodelet_type, remappings, argvs));
49 int main(
int argc,
char** argv)
52 ::testing::InitGoogleTest(&argc, argv);
53 return RUN_ALL_TESTS();
int main(int argc, char **argv)
bool load(const std::string &name, const std::string &type, const M_string &remappings, const V_string &my_argv)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
std::map< std::string, std::string > M_string
TEST(NodeletConsole, TEST_CONSOLE)