Classes | Functions | Variables
test::node Namespace Reference

Classes

class  _NodeTestCase
 Parent of node API and integration test cases. More...
class  NodeApiTestCase
 Expects a single test node to be running with name 'test_node' and subscribed to 'test_string'. More...
class  NodeIntegrationTestCase
 Performs end-to-end integration tests of a test_node. More...

Functions

def get_caller_id
 reimplementation of caller ID spec separately from rospy
def set_node_name
 set_node_name() must be called prior to the unit test so that the test harness knows its ROS name.

Variables

 _name = None
tuple _required_publications = _required_publications_map.keys()
dictionary _required_publications_map
string _required_subscriptions = 'test_string_in'
string _TCPROS = 'TCPROS'
string NODE_INTEGRATION_NAME = "node_integration_test"

Function Documentation

reimplementation of caller ID spec separately from rospy

Definition at line 75 of file node.py.

def test.node.set_node_name (   name)

set_node_name() must be called prior to the unit test so that the test harness knows its ROS name.

Definition at line 68 of file node.py.


Variable Documentation

Definition at line 65 of file node.py.

tuple test::node::_required_publications = _required_publications_map.keys()

Definition at line 58 of file node.py.

Initial value:
00001 {
00002     'test_string_out': 'test_rosmaster/TestString',
00003     'test_primitives_out': 'test_rosmaster/TestPrimitives',
00004     'test_arrays_out': 'test_rosmaster/TestArrays',
00005     'test_header_out': 'test_rosmaster/TestHeader',
00006     }

Definition at line 52 of file node.py.

string test::node::_required_subscriptions = 'test_string_in'

Definition at line 49 of file node.py.

string test::node::_TCPROS = 'TCPROS'

Definition at line 60 of file node.py.

string test::node::NODE_INTEGRATION_NAME = "node_integration_test"

Definition at line 46 of file node.py.



test_rosmaster
Author(s): Ken Conley
autogenerated on Mon Oct 6 2014 11:47:16