Expects a single test node to be running with name 'test_node' and subscribed to 'test_string'. More...
Public Member Functions | |
def | setUp |
def | testGetPid |
def | testGetPublications |
def | testMisc |
def | testSinkConnectFlow |
def | testSinkKillFlow |
def | testSourceKillFlow |
def | testSourceRequestFlow_Errors |
def | testSourceRequestFlow_Fail |
def | testSourceRequestFlow_TCPROS1 |
def | testSourceRequestFlow_TCPROS2 |
Public Attributes | |
caller_id | |
node | |
node_api | |
Static Public Attributes | |
list | sinkTests |
Private Member Functions | |
def | _sink_KillFlows |
def | _sink_StartFlows |
def | _sink_StartNodes |
def | _subTestSourceRequestFlow |
Expects a single test node to be running with name 'test_node' and subscribed to 'test_string'.
Definition at line 65 of file testSlave.py.
def test_ros.testSlave.SlaveTestCase._sink_KillFlows | ( | self, | |
tests, | |||
sinks | |||
) | [private] |
subroutine to kill the flows specified in the tests, purely using the sink API (i.e. source will still be running) In the future it would be nice to verify that the flow was killed, but for now trust what the sink says
Definition at line 278 of file testSlave.py.
def test_ros.testSlave.SlaveTestCase._sink_StartFlows | ( | self, | |
tests, | |||
sourceUris, | |||
sinks | |||
) | [private] |
subroutine to connect the flows specified in the tests, purely using the sink API. In the future it would be nice to verify that the flow truly exists, but for now trust what the sink says
Definition at line 260 of file testSlave.py.
def test_ros.testSlave.SlaveTestCase._sink_StartNodes | ( | self, | |
tests | |||
) | [private] |
Test subroutine to startup all the nodes specified in the tests
Definition at line 240 of file testSlave.py.
def test_ros.testSlave.SlaveTestCase._subTestSourceRequestFlow | ( | self, | |
testName, | |||
protocols, | |||
testEval | |||
) | [private] |
Definition at line 86 of file testSlave.py.
def test_ros.testSlave.SlaveTestCase.setUp | ( | self | ) |
Definition at line 67 of file testSlave.py.
def test_ros.testSlave.SlaveTestCase.testGetPid | ( | self | ) |
Definition at line 75 of file testSlave.py.
Definition at line 79 of file testSlave.py.
def test_ros.testSlave.SlaveTestCase.testMisc | ( | self | ) |
Definition at line 317 of file testSlave.py.
Definition at line 300 of file testSlave.py.
Definition at line 307 of file testSlave.py.
Definition at line 153 of file testSlave.py.
Definition at line 140 of file testSlave.py.
Definition at line 136 of file testSlave.py.
Definition at line 118 of file testSlave.py.
Definition at line 127 of file testSlave.py.
Definition at line 67 of file testSlave.py.
Definition at line 67 of file testSlave.py.
Definition at line 67 of file testSlave.py.
list test_ros::testSlave.SlaveTestCase::sinkTests [static] |
[ [['testSinkConnectFlow-nodeA','testSinkConnectFlow-nodeB',], ['node', 'testSinkConnectFlow-nodeA.out', 'testSinkConnectFlow-nodeB.in']], [['g1.testSinkConnectFlow-nodeA','g1.testSinkConnectFlow-nodeB',], ['g1.node', 'testSinkConnectFlow-nodeA.out', 'testSinkConnectFlow-nodeB.in']], [['g1.g2.g3.testSinkConnectFlow-nodeA','g1.g2.testSinkConnectFlow-nodeB',], ['g1.g2.node', 'g3.testSinkConnectFlow-nodeA.out', 'testSinkConnectFlow-nodeB.in']], [['g1.g2.testSinkConnectFlow-nodeA','g1.g2.g3.testSinkConnectFlow-nodeB',], ['g1.g2.node', 'testSinkConnectFlow-nodeA.out', 'g3.testSinkConnectFlow-nodeB.in']], #separate subgraphs [['a1.a2.testSinkConnectFlow-nodeA','b1.b2.testSinkConnectFlow-nodeB',], ['node', 'a1.a2.testSinkConnectFlow-nodeA.out', 'b1.b2.testSinkConnectFlow-nodeB.in']], # '.locator' resolution [['c1.node.testSinkConnectFlow-nodeA','c1.node2.testSinkConnectFlow-nodeB',], ['c1.node2', 'node.testSinkConnectFlow-nodeA.out', '.testSinkConnectFlow-nodeB.in']], ]
Definition at line 222 of file testSlave.py.