Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions
test_ros.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_ros.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 65 of file testSlave.py.


Member Function Documentation

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.

Definition at line 67 of file testSlave.py.

Definition at line 75 of file testSlave.py.

Definition at line 79 of file testSlave.py.

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.


Member Data Documentation

Definition at line 67 of file testSlave.py.

Definition at line 67 of file testSlave.py.

Definition at line 67 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 222 of file testSlave.py.


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


test_ros
Author(s): Ken Conley/kwc@willowgarage.com
autogenerated on Sat Dec 28 2013 17:35:50