test_main.cpp
Go to the documentation of this file.
1 #include <gtest/gtest.h>
2 #include <ros/ros.h>
3 
4 int main(int argc, char** argv) {
5  testing::InitGoogleTest(&argc, argv);
6  ros::init(argc, argv, "rosparam_handler_test");
7  // The async spinner lets you publish and receive messages during the tests,
8  // no need to call spinOnce()
9  ros::AsyncSpinner spinner(1);
10  spinner.start();
11  int ret = RUN_ALL_TESTS();
12  ros::shutdown();
13  return ret;
14 }
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
int main(int argc, char **argv)
Definition: test_main.cpp:4
ROSCPP_DECL void shutdown()


rosparam_handler
Author(s): Claudio Bandera
autogenerated on Mon Jun 10 2019 14:48:10