Public Member Functions | Public Attributes
test_ros.rosclient.TestRosClient Class Reference
Inheritance diagram for test_ros.rosclient.TestRosClient:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def apiError
 unit test assertion that fails if status code is not -1 and otherwise returns true
def apiFail
 unit test assertions that fails if status code is not 0 and otherwise returns true
def apiSuccess
 unit test assertion that fails if status code is not 1 and otherwise returns the value parameter
def setUp
def tearDown

Public Attributes

 last_code
 last_msg
 last_val
 master

Detailed Description

Definition at line 41 of file rosclient.py.


Member Function Documentation

def test_ros.rosclient.TestRosClient.apiError (   self,
  args,
  msg = None 
)

unit test assertion that fails if status code is not -1 and otherwise returns true

Returns:
True if status code is -1

Definition at line 71 of file rosclient.py.

def test_ros.rosclient.TestRosClient.apiFail (   self,
  args 
)

unit test assertions that fails if status code is not 0 and otherwise returns true

Parameters:
args[int, str, val]: returnv value from ROS API call
Returns:
True if status code is 0

Definition at line 64 of file rosclient.py.

def test_ros.rosclient.TestRosClient.apiSuccess (   self,
  args 
)

unit test assertion that fails if status code is not 1 and otherwise returns the value parameter

Parameters:
args[int, str, val]: returnv value from ROS API call
Returns:
val value parameter from args (arg[2] for master/slave API)

Definition at line 55 of file rosclient.py.

Reimplemented in test_ros.node._NodeTestCase, and test_ros.master._MasterTestCase.

Definition at line 43 of file rosclient.py.

Definition at line 49 of file rosclient.py.


Member Data Documentation

Definition at line 43 of file rosclient.py.

Definition at line 43 of file rosclient.py.

Definition at line 43 of file rosclient.py.

Reimplemented in test_ros.master._MasterTestCase.

Definition at line 43 of file rosclient.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