test_nodelet_log_utils.cpp
Go to the documentation of this file.
00001 /*
00002  * test_nodelet_log.cpp
00003  * Author: Yuki Furuta <furushchev@jsk.imi.i.u-tokyo.ac.jp>
00004  */
00005 
00006 #include <gtest/gtest.h>
00007 #include <nodelet/nodelet.h>
00008 #include <nodelet/loader.h>
00009 #include <ros/ros.h>
00010 #include <string>
00011 #include <vector>
00012 
00013 TEST(JSKNodeletLog, TEST_LOG)
00014 {
00015   nodelet::Loader n(false);
00016   ros::M_string remappings;
00017   std::string nodelet_name = ros::this_node::getName();
00018   std::string nodelet_type = "jsk_topic_tools_test/LogUtils";
00019   std::vector<std::string> argv;
00020   EXPECT_TRUE(n.load(nodelet_name, nodelet_type, remappings, argv));
00021 }
00022 
00023 int main(int argc, char** argv)
00024 {
00025   ros::init(argc, argv, "test_nodelet_log_utils");
00026   ::testing::InitGoogleTest(&argc, argv);
00027   return RUN_ALL_TESTS();
00028 }


jsk_topic_tools
Author(s): Kei Okada , Yusuke Furuta
autogenerated on Fri Sep 8 2017 03:38:56