00001 #include <gtest/gtest.h> 00002 #include <ros/ros.h> 00003 00004 int main(int argc, char** argv) { 00005 testing::InitGoogleTest(&argc, argv); 00006 ros::init(argc, argv, "rosparam_handler_test"); 00007 // The async spinner lets you publish and receive messages during the tests, 00008 // no need to call spinOnce() 00009 ros::AsyncSpinner spinner(1); 00010 spinner.start(); 00011 int ret = RUN_ALL_TESTS(); 00012 ros::shutdown(); 00013 return ret; 00014 }