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, "test_node");
7 
8  ros::AsyncSpinner spinner(4);
9  spinner.start();
10  int ret = RUN_ALL_TESTS();
11  spinner.stop();
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()


skyway
Author(s): Toshiya Nakakura
autogenerated on Sat Apr 15 2023 02:08:21