Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions
test.testSlave.SlaveTestCase Class Reference

Expects a single test node to be running with name 'test_node' and subscribed to 'test_string'. More...

Inheritance diagram for test.testSlave.SlaveTestCase:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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.


Member Function Documentation

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.

Definition at line 70 of file testSlave.py.

Definition at line 78 of file testSlave.py.

Definition at line 82 of file testSlave.py.

Definition at line 320 of file testSlave.py.

Definition at line 303 of file testSlave.py.

Definition at line 310 of file testSlave.py.

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.


Member Data Documentation

Definition at line 70 of file testSlave.py.

Definition at line 70 of file testSlave.py.

Definition at line 70 of file testSlave.py.

Initial value:
[
        [['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.


The documentation for this class was generated from the following file:


test_rosmaster
Author(s): Ken Conley
autogenerated on Tue Mar 7 2017 03:45:38