Public Member Functions | Public Attributes | Private Member Functions | List of all members
node._NodeTestCase Class Reference

Parent of node API and integration test cases. More...

Inheritance diagram for node._NodeTestCase:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, *args)
 
def setUp (self)
 
- Public Member Functions inherited from rosclient.TestRosClient
def apiError (self, args, msg=None)
 unit test assertion that fails if status code is not -1 and otherwise returns true More...
 
def apiFail (self, args)
 unit test assertions that fails if status code is not 0 and otherwise returns true More...
 
def apiSuccess (self, args)
 unit test assertion that fails if status code is not 1 and otherwise returns the value parameter More...
 
def tearDown (self)
 

Public Attributes

 caller_id
 
 node
 
 node_api
 
 ns
 
 test_node
 
- Public Attributes inherited from rosclient.TestRosClient
 last_code
 
 last_msg
 
 last_val
 
 master
 

Private Member Functions

def _checkUri (self, uri)
 validates a URI as being http(s) More...
 
def _createTopicTypeMap (self)
 dynamically create the expected topic->type map based on the current name resolution context More...
 

Detailed Description

Parent of node API and integration test cases.

Performs common state setup

Definition at line 85 of file node.py.

Constructor & Destructor Documentation

◆ __init__()

def node._NodeTestCase.__init__ (   self,
args 
)

Reimplemented in node.NodeIntegrationTestCase.

Definition at line 87 of file node.py.

Member Function Documentation

◆ _checkUri()

def node._NodeTestCase._checkUri (   self,
  uri 
)
private

validates a URI as being http(s)

Definition at line 120 of file node.py.

◆ _createTopicTypeMap()

def node._NodeTestCase._createTopicTypeMap (   self)
private

dynamically create the expected topic->type map based on the current name resolution context

Definition at line 132 of file node.py.

◆ setUp()

def node._NodeTestCase.setUp (   self)

Reimplemented from rosclient.TestRosClient.

Definition at line 102 of file node.py.

Member Data Documentation

◆ caller_id

node._NodeTestCase.caller_id

Definition at line 91 of file node.py.

◆ node

node._NodeTestCase.node

Definition at line 117 of file node.py.

◆ node_api

node._NodeTestCase.node_api

Definition at line 108 of file node.py.

◆ ns

node._NodeTestCase.ns

Definition at line 90 of file node.py.

◆ test_node

node._NodeTestCase.test_node

Definition at line 94 of file node.py.


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


test_rospy
Author(s): Ken Conley, Dirk Thomas , Jacob Perron
autogenerated on Tue May 20 2025 03:00:44