Classes | |
class | RoconTestLaunchConfiguration |
Construction Methods. More... | |
Functions | |
def | _accumulate_results (results) |
def | _add_rocon_test_parent (runner) |
def | create_unit_rocon_test (rocon_launcher, launchers) |
def | fail_duplicate_runner (test_name) |
generate test failure if tests with same name in launch file More... | |
def | fail_runner (test_name, message) |
def | get_results () |
def | get_rocon_test_parents () |
def | rocon_test_runner (test, test_launch_configuration, test_pkg) |
def | set_pause_mode (val) |
def | set_text_mode (val) |
def | setUp (self) |
def | tearDown (self) |
Variables | |
_config = None | |
int | _DEFAULT_TEST_PORT = 22422 |
Globals. More... | |
bool | _pause_mode = False |
_results = rosunit.junitxml.Result('rocon_test', 0, 0, 0) | |
list | _test_parents = [] |
Parents. More... | |
bool | _text_mode = False |
|
private |
|
private |
def rocon_test.runner.create_unit_rocon_test | ( | rocon_launcher, | |
launchers | |||
) |
def rocon_test.runner.fail_duplicate_runner | ( | test_name | ) |
def rocon_test.runner.rocon_test_runner | ( | test, | |
test_launch_configuration, | |||
test_pkg | |||
) |
Test function generator that takes in a roslaunch Test object and returns a class instance method that runs the test. TestCase setUp() is responsible for ensuring that the rest of the roslaunch state is correct and tearDown() is responsible for tearing everything down cleanly. :param test: ros test to run :type test: :class:`.RoconTestLaunchConfiguration` :returns: function object to run testObj :rtype: fn
def rocon_test.runner.setUp | ( | self | ) |
Function that becomes TestCase.setUp() For each launcher representing a launch on a single master in the rocon launcher, this makes sure there is an entity that is to be the 'parent' who will later be responsible for shutting everything down. This could be prone to problems if someone puts multiple test launchers in rocon launcher with the same master port (untested).
def rocon_test.runner.tearDown | ( | self | ) |
|
private |
|
private |