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 68 of file testSlave.py.
def test.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 281 of file testSlave.py.
def test.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 263 of file testSlave.py.
def test.testSlave.SlaveTestCase._sink_StartNodes | ( | self, | |
tests | |||
) | [private] |
Test subroutine to startup all the nodes specified in the tests
Definition at line 243 of file testSlave.py.
def test.testSlave.SlaveTestCase._subTestSourceRequestFlow | ( | self, | |
testName, | |||
protocols, | |||
testEval | |||
) | [private] |
Definition at line 89 of file testSlave.py.
def test.testSlave.SlaveTestCase.setUp | ( | self | ) |
Definition at line 70 of file testSlave.py.
def test.testSlave.SlaveTestCase.testGetPid | ( | self | ) |
Definition at line 78 of file testSlave.py.
def test.testSlave.SlaveTestCase.testGetPublications | ( | self | ) |
Definition at line 82 of file testSlave.py.
def test.testSlave.SlaveTestCase.testMisc | ( | self | ) |
Definition at line 320 of file testSlave.py.
def test.testSlave.SlaveTestCase.testSinkConnectFlow | ( | self | ) |
Definition at line 303 of file testSlave.py.
def test.testSlave.SlaveTestCase.testSinkKillFlow | ( | self | ) |
Definition at line 310 of file testSlave.py.
def test.testSlave.SlaveTestCase.testSourceKillFlow | ( | self | ) |
Definition at line 156 of file testSlave.py.
Definition at line 143 of file testSlave.py.
Definition at line 139 of file testSlave.py.
Definition at line 121 of file testSlave.py.
Definition at line 130 of file testSlave.py.
Definition at line 70 of file testSlave.py.
Definition at line 70 of file testSlave.py.
Definition at line 70 of file testSlave.py.
list test::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 225 of file testSlave.py.