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 More...
 
def set_node_name (name)
 set_node_name() must be called prior to the unit test so that the test harness knows its ROS name. More...
 

Variables

 _name = None
 
 _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

def test.node.get_caller_id ( )

reimplementation of caller ID spec separately from rospy

Definition at line 78 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 71 of file node.py.

Variable Documentation

test.node._name = None
private

Definition at line 68 of file node.py.

test.node._required_publications = _required_publications_map.keys()
private

Definition at line 61 of file node.py.

dictionary test.node._required_publications_map
private
Initial value:
1 = {
2  'test_string_out': 'test_rosmaster/TestString',
3  'test_primitives_out': 'test_rosmaster/TestPrimitives',
4  'test_arrays_out': 'test_rosmaster/TestArrays',
5  'test_header_out': 'test_rosmaster/TestHeader',
6  }

Definition at line 55 of file node.py.

string test.node._required_subscriptions = 'test_string_in'
private

Definition at line 52 of file node.py.

string test.node._TCPROS = 'TCPROS'
private

Definition at line 63 of file node.py.

string test.node.NODE_INTEGRATION_NAME = "node_integration_test"

Definition at line 49 of file node.py.



test_rosmaster
Author(s): Ken Conley, Dirk Thomas
autogenerated on Mon Nov 2 2020 03:52:54