#NEWLINE# def test_assorted_msgnames( self ) : #NEWLINE# #INDENT# assortedmsgs = [ 'geometry_msgs/Pose' , 'actionlib_msgs/GoalStatus' , 'geometry_msgs/WrenchStamped' , 'stereo_msgs/DisparityImage' , 'nav_msgs/OccupancyGrid' , 'geometry_msgs/Point32' , 'std_msgs/String' , 'trajectory_msgs/JointTrajectoryPoint' , 'diagnostic_msgs/KeyValue' , 'visualization_msgs/InteractiveMarkerUpdate' , 'nav_msgs/GridCells' , 'sensor_msgs/PointCloud2' ] #NEWLINE# for x in assortedmsgs : #NEWLINE# #INDENT# self . assertNotEqual ( ros_loader . get_message_class ( x ) , None ) #NEWLINE# inst = ros_loader . get_message_instance ( x ) #NEWLINE# self . assertNotEqual ( inst , None ) #NEWLINE# self . assertEqual ( x , inst . _type )