test_main.cpp
Go to the documentation of this file.
1 /*
2 * Unit Test for the imageprocessor
3 
4 * Copyright (c) 2019, Evan Flynn
5 * All rights reserved.
6 */
7 
8 #include <gtest/gtest.h>
9 #include <ros/ros.h>
10 
11 int main(int argc, char **argv)
12 {
13  testing::InitGoogleTest(&argc, argv);
14 
15  ros::init(argc, argv, "UdpComTest");
16  ros::AsyncSpinner spinner(1);
17 
18  // thread t([]{while(ros::ok()) ros::spin();});
19  // auto res = RUN_ALL_TESTS();
20  spinner.start();
21  int ret = RUN_ALL_TESTS();
22 
23  spinner.stop();
24  ros::shutdown();
25  return ret;
26 }
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:11
ROSCPP_DECL void shutdown()


udp_com
Author(s): Hunter Laux , Max Ginier , Evan Flynn , Gerardo Bravo , Moises Diaz
autogenerated on Sat Dec 5 2020 04:01:00