Public Member Functions | |
def | __init__ |
def | apiError |
def | apiFail |
def | apiSuccess |
def | check_TCPROS |
def | check_uri |
def | load_profile |
def | setUp |
def | test_getBusInfo |
def | test_getMasterUri |
def | test_getPid |
def | test_getPublications |
def | test_getSubscriptions |
def | test_paramUpdate |
validate node.paramUpdate(caller_id, key, value) | |
def | test_publisherUpdate |
def | test_registrations |
test the state of the master based on expected node registration | |
def | test_rosout |
def | test_simtime |
def | testRequestTopic |
def | xtest_getUri |
Public Attributes | |
caller_id | |
last_code | |
last_val | |
master | |
node | |
node_api | |
ns | |
required_pubs | |
required_subs | |
test_node | |
test_node_profile |
Definition at line 84 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.__init__ | ( | self, | |
args, | |||
kwds | |||
) |
Definition at line 86 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.apiError | ( | self, | |
args, | |||
msg = None |
|||
) |
unit test assertion that fails if status code is not -1 and otherwise returns true. @param args: returnv value from ROS API call @type args: [int, str, val] @return: True if status code is -1
Definition at line 158 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.apiFail | ( | self, | |
args | |||
) |
unit test assertions that fails if status code is not 0 and otherwise returns true. @param args: returnv value from ROS API call @type args: [int, str, val] @return: True if status code is 0
Definition at line 147 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.apiSuccess | ( | self, | |
args | |||
) |
unit test assertion that fails if status code is not 1 and otherwise returns the value parameter. @param args: returnv value from ROS API call @type args: [int, str, val] @return: value parameter from args (arg[2] for master/slave API)
Definition at line 135 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.check_TCPROS | ( | self, | |
protocol_params | |||
) |
Definition at line 397 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.check_uri | ( | self, | |
uri | |||
) |
validates a URI as being http(s)
Definition at line 172 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.load_profile | ( | self, | |
filename | |||
) |
Definition at line 106 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.setUp | ( | self | ) |
Definition at line 113 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.test_getBusInfo | ( | self | ) |
Definition at line 462 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.test_getMasterUri | ( | self | ) |
validate node.getMasterUri(caller_id)
Definition at line 317 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.test_getPid | ( | self | ) |
validate node.getPid(caller_id)
Definition at line 182 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.test_getPublications | ( | self | ) |
validate node.getPublications(caller_id)
Definition at line 224 of file test_slave_api.py.
validate node.getSubscriptions(caller_id)
Definition at line 248 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.test_paramUpdate | ( | self | ) |
validate node.paramUpdate(caller_id, key, value)
Definition at line 271 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.test_publisherUpdate | ( | self | ) |
validate node.publisherUpdate(caller_id, topic, uris)
Definition at line 342 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.test_registrations | ( | self | ) |
test the state of the master based on expected node registration
Definition at line 478 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.test_rosout | ( | self | ) |
make sure rosout is in publication and connection list
Definition at line 196 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.test_simtime | ( | self | ) |
test that node obeys simtime (/Clock) contract http://www.ros.org/wiki/Clock
Definition at line 205 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.testRequestTopic | ( | self | ) |
Definition at line 405 of file test_slave_api.py.
def test_slave_api.TestSlaveApi.xtest_getUri | ( | self | ) |
Future: validate node.getUri(caller_id). It would be nice to make this official API as it provides some debugging info.
Definition at line 299 of file test_slave_api.py.
Definition at line 113 of file test_slave_api.py.
Definition at line 140 of file test_slave_api.py.
Definition at line 140 of file test_slave_api.py.
Definition at line 113 of file test_slave_api.py.
Definition at line 113 of file test_slave_api.py.
Definition at line 113 of file test_slave_api.py.
Definition at line 86 of file test_slave_api.py.
Definition at line 86 of file test_slave_api.py.
Definition at line 86 of file test_slave_api.py.
Definition at line 86 of file test_slave_api.py.
Definition at line 86 of file test_slave_api.py.