Expects a single test node to be running with name 'test_node' and subscribed to 'test_string'. More...
Public Member Functions | |
def | testGetBusInfo (self) |
def | testGetBusStats (self) |
def | testGetMasterUri (self) |
validate node.getMasterUri(caller_id) More... | |
def | testGetName (self) |
validate node.getName(caller_id) More... | |
def | testGetPid (self) |
validate node.getPid(caller_id) More... | |
def | testGetPublications (self) |
validate node.getPublications(caller_id) More... | |
def | testGetSubscriptions (self) |
validate node.getSubscriptions(caller_id) More... | |
def | testGetUri (self) |
validate node.getUri(caller_id) More... | |
def | testParamUpdate (self) |
validate node.paramUpdate(caller_id, key, value) More... | |
def | testPublisherUpdate (self) |
validate node.publisherUpdate(caller_id, topic, uris) More... | |
def | testRegistrations (self) |
test the state of the master based on expected node registration More... | |
def | testRequestTopic (self) |
Public Member Functions inherited from test.node._NodeTestCase | |
def | __init__ (self, args) |
def | setUp (self) |
Public Member Functions inherited from test.rosclient.TestRosClient | |
def | apiError (self, args, msg=None) |
unit test assertion that fails if status code is not -1 and otherwise returns true More... | |
def | apiFail (self, args) |
unit test assertions that fails if status code is not 0 and otherwise returns true More... | |
def | apiSuccess (self, args) |
unit test assertion that fails if status code is not 1 and otherwise returns the value parameter More... | |
def | setUp (self) |
def | tearDown (self) |
Private Member Functions | |
def | _checkTCPROS (self, protocol_params) |
def | _checkTopics (self, required, actual) |
subroutine for testGetSubscriptions/testGetPublications More... | |
Additional Inherited Members | |
Public Attributes inherited from test.node._NodeTestCase | |
caller_id | |
node | |
node_api | |
ns | |
test_node | |
Public Attributes inherited from test.rosclient.TestRosClient | |
last_code | |
last_msg | |
last_val | |
master | |
Expects a single test node to be running with name 'test_node' and subscribed to 'test_string'.
|
private |
|
private |
def test.node.NodeApiTestCase.testGetMasterUri | ( | self | ) |
def test.node.NodeApiTestCase.testGetName | ( | self | ) |
def test.node.NodeApiTestCase.testGetPid | ( | self | ) |
def test.node.NodeApiTestCase.testGetPublications | ( | self | ) |
def test.node.NodeApiTestCase.testGetSubscriptions | ( | self | ) |
def test.node.NodeApiTestCase.testGetUri | ( | self | ) |
def test.node.NodeApiTestCase.testParamUpdate | ( | self | ) |
def test.node.NodeApiTestCase.testPublisherUpdate | ( | self | ) |
def test.node.NodeApiTestCase.testRegistrations | ( | self | ) |