$search
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 90 of file test_slave_api.py.
| def test_slave_api::TestSlaveApi::__init__ | ( | self, | ||
| args, | ||||
| kwds | ||||
| ) |
Definition at line 92 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 164 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 153 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 141 of file test_slave_api.py.
| def test_slave_api::TestSlaveApi::check_TCPROS | ( | self, | ||
| protocol_params | ||||
| ) |
Definition at line 403 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 178 of file test_slave_api.py.
| def test_slave_api::TestSlaveApi::load_profile | ( | self, | ||
| filename | ||||
| ) |
Definition at line 112 of file test_slave_api.py.
| def test_slave_api::TestSlaveApi::setUp | ( | self | ) |
Definition at line 119 of file test_slave_api.py.
| def test_slave_api::TestSlaveApi::test_getBusInfo | ( | self | ) |
Definition at line 468 of file test_slave_api.py.
| def test_slave_api::TestSlaveApi::test_getMasterUri | ( | self | ) |
validate node.getMasterUri(caller_id)
Definition at line 323 of file test_slave_api.py.
| def test_slave_api::TestSlaveApi::test_getPid | ( | self | ) |
validate node.getPid(caller_id)
Definition at line 188 of file test_slave_api.py.
| def test_slave_api::TestSlaveApi::test_getPublications | ( | self | ) |
validate node.getPublications(caller_id)
Definition at line 230 of file test_slave_api.py.
| def test_slave_api::TestSlaveApi::test_getSubscriptions | ( | self | ) |
validate node.getSubscriptions(caller_id)
Definition at line 254 of file test_slave_api.py.
| def test_slave_api::TestSlaveApi::test_paramUpdate | ( | self | ) |
validate node.paramUpdate(caller_id, key, value)
Definition at line 277 of file test_slave_api.py.
| def test_slave_api::TestSlaveApi::test_publisherUpdate | ( | self | ) |
validate node.publisherUpdate(caller_id, topic, uris)
Definition at line 348 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 484 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 202 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 211 of file test_slave_api.py.
| def test_slave_api::TestSlaveApi::testRequestTopic | ( | self | ) |
Definition at line 411 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 305 of file test_slave_api.py.
Definition at line 120 of file test_slave_api.py.
Definition at line 150 of file test_slave_api.py.
Definition at line 149 of file test_slave_api.py.
Definition at line 125 of file test_slave_api.py.
Definition at line 135 of file test_slave_api.py.
Definition at line 124 of file test_slave_api.py.
Definition at line 95 of file test_slave_api.py.
Definition at line 99 of file test_slave_api.py.
Definition at line 100 of file test_slave_api.py.
Definition at line 98 of file test_slave_api.py.
Definition at line 106 of file test_slave_api.py.