utest::RospackTestCase Class Reference
Process-level tests of rospack executable.
More...
List of all members.
Detailed Description
Process-level tests of rospack executable.
Definition at line 77 of file utest.py.
Member Function Documentation
def utest::RospackTestCase::_check_rospack_list |
( |
|
self, |
|
|
|
expected, |
|
|
|
retval | |
|
) |
| | [private] |
def utest::RospackTestCase::_rospack_langs |
( |
|
self, |
|
|
|
ros_root, |
|
|
|
ros_package_path, |
|
|
|
ros_lang_disable | |
|
) |
| | [private] |
def utest::RospackTestCase::_rospack_list |
( |
|
self, |
|
|
|
ros_root, |
|
|
|
ros_package_path | |
|
) |
| | [private] |
def utest::RospackTestCase::_rospack_list_names |
( |
|
self, |
|
|
|
ros_root, |
|
|
|
ros_package_path | |
|
) |
| | [private] |
rospack list-names
Definition at line 569 of file utest.py.
def utest::RospackTestCase::_run_rospack |
( |
|
self, |
|
|
|
ros_root, |
|
|
|
ros_package_path, |
|
|
|
pkgname, |
|
|
|
command | |
|
) |
| | [private] |
runs rospack with ROS_ROOT set to .
/test and ROS_PACKAGE_PATH unset
- Returns:
- int, str: return code, stdout
Definition at line 81 of file utest.py.
def utest::RospackTestCase::check_ordered_list |
( |
|
self, |
|
|
|
command, |
|
|
|
tests | |
|
) |
| | |
def utest::RospackTestCase::check_unordered_list |
( |
|
self, |
|
|
|
command, |
|
|
|
tests | |
|
) |
| | |
def utest::RospackTestCase::echeck_ordered_list |
( |
|
self, |
|
|
|
command, |
|
|
|
tests | |
|
) |
| | |
def utest::RospackTestCase::echeck_unordered_list |
( |
|
self, |
|
|
|
command, |
|
|
|
tests | |
|
) |
| | |
def utest::RospackTestCase::erospack_fail |
( |
|
self, |
|
|
|
ros_root, |
|
|
|
ros_package_path, |
|
|
|
package, |
|
|
|
command | |
|
) |
| | |
assert that rospack fails on the specified args.
includes ROS_ROOT and ROS_PACKAGE_PATH
Definition at line 158 of file utest.py.
def utest::RospackTestCase::erospack_succeed |
( |
|
self, |
|
|
|
ros_root, |
|
|
|
ros_package_path, |
|
|
|
package, |
|
|
|
command | |
|
) |
| | |
assert that rospack succeeds on the specified args
Definition at line 169 of file utest.py.
def utest::RospackTestCase::erun_rospack |
( |
|
self, |
|
|
|
ros_root, |
|
|
|
ros_package_path, |
|
|
|
pkgname, |
|
|
|
command | |
|
) |
| | |
- Returns:
- str: stdout
Definition at line 138 of file utest.py.
def utest::RospackTestCase::erun_rospack_status |
( |
|
self, |
|
|
|
ros_root, |
|
|
|
ros_package_path, |
|
|
|
pkgname, |
|
|
|
command | |
|
) |
| | |
- Returns:
- int: status code
Definition at line 148 of file utest.py.
def utest::RospackTestCase::rospack_fail |
( |
|
self, |
|
|
|
package, |
|
|
|
command | |
|
) |
| | |
assert that rospack fails on the specified args
Definition at line 152 of file utest.py.
def utest::RospackTestCase::rospack_succeed |
( |
|
self, |
|
|
|
package, |
|
|
|
command | |
|
) |
| | |
assert that rospack succeeds on the specified args
Definition at line 163 of file utest.py.
def utest::RospackTestCase::run_rospack |
( |
|
self, |
|
|
|
pkgname, |
|
|
|
command | |
|
) |
| | |
- Returns:
- str: stdout
Definition at line 133 of file utest.py.
def utest::RospackTestCase::run_rospack_status |
( |
|
self, |
|
|
|
pkgname, |
|
|
|
command | |
|
) |
| | |
runs rospack with ROS_ROOT set to .
/test and ROS_PACKAGE_PATH unset
- Returns:
- int: status code
Definition at line 143 of file utest.py.
def utest::RospackTestCase::strip_opt_ros |
( |
|
self, |
|
|
|
flags | |
|
) |
| | |
def utest::RospackTestCase::test_backquote_invalid |
( |
|
self |
) |
|
def utest::RospackTestCase::test_bad_ros_root |
( |
|
self |
) |
|
def utest::RospackTestCase::test_cflags_backquote |
( |
|
self |
) |
|
def utest::RospackTestCase::test_circular |
( |
|
self |
) |
|
def utest::RospackTestCase::test_depends_on |
( |
|
self |
) |
|
def utest::RospackTestCase::test_depends_on1 |
( |
|
self |
) |
|
def utest::RospackTestCase::test_depends_on_nonexistent |
( |
|
self |
) |
|
def utest::RospackTestCase::test_deps |
( |
|
self |
) |
|
def utest::RospackTestCase::test_deps1 |
( |
|
self |
) |
|
def utest::RospackTestCase::test_deps1_invalid |
( |
|
self |
) |
|
def utest::RospackTestCase::test_deps_indent |
( |
|
self |
) |
|
def utest::RospackTestCase::test_deps_invalid |
( |
|
self |
) |
|
def utest::RospackTestCase::test_deps_manifests |
( |
|
self |
) |
|
def utest::RospackTestCase::test_empty_cflags |
( |
|
self |
) |
|
def utest::RospackTestCase::test_empty_lflags |
( |
|
self |
) |
|
def utest::RospackTestCase::test_empty_ros_package_path |
( |
|
self |
) |
|
test rospack with ROS_PACKAGE_PATH set to the empty string
Definition at line 405 of file utest.py.
def utest::RospackTestCase::test_empty_vcs |
( |
|
self |
) |
|
def utest::RospackTestCase::test_export_bad |
( |
|
self |
) |
|
def utest::RospackTestCase::test_export_cpp |
( |
|
self |
) |
|
def utest::RospackTestCase::test_export_non_existent_attrib |
( |
|
self |
) |
|
def utest::RospackTestCase::test_export_roslang |
( |
|
self |
) |
|
def utest::RospackTestCase::test_fake_option |
( |
|
self |
) |
|
def utest::RospackTestCase::test_invalid_option |
( |
|
self |
) |
|
def utest::RospackTestCase::test_invalid_option_order |
( |
|
self |
) |
|
def utest::RospackTestCase::test_langs |
( |
|
self |
) |
|
def utest::RospackTestCase::test_langs_disable |
( |
|
self |
) |
|
def utest::RospackTestCase::test_langs_empty |
( |
|
self |
) |
|
def utest::RospackTestCase::test_lflags_archive |
( |
|
self |
) |
|
def utest::RospackTestCase::test_Lflags_backquote |
( |
|
self |
) |
|
def utest::RospackTestCase::test_lflags_backquote |
( |
|
self |
) |
|
def utest::RospackTestCase::test_lflags_base |
( |
|
self |
) |
|
def utest::RospackTestCase::test_lflags_deps |
( |
|
self |
) |
|
def utest::RospackTestCase::test_lflags_deps_only |
( |
|
self |
) |
|
def utest::RospackTestCase::test_lflags_invalid |
( |
|
self |
) |
|
def utest::RospackTestCase::test_lflags_no_package_attrib |
( |
|
self |
) |
|
def utest::RospackTestCase::test_list_duplicates |
( |
|
self |
) |
|
tests list-duplicates
Definition at line 439 of file utest.py.
def utest::RospackTestCase::test_msg_gen |
( |
|
self |
) |
|
def utest::RospackTestCase::test_no_option |
( |
|
self |
) |
|
def utest::RospackTestCase::test_no_package_allowed |
( |
|
self |
) |
|
def utest::RospackTestCase::test_no_package_allowed_bad |
( |
|
self |
) |
|
def utest::RospackTestCase::test_no_ros_root |
( |
|
self |
) |
|
ENVIRONMENT TEST.
Definition at line 384 of file utest.py.
def utest::RospackTestCase::test_plugins |
( |
|
self |
) |
|
def utest::RospackTestCase::test_plugins_bad |
( |
|
self |
) |
|
def utest::RospackTestCase::test_profile |
( |
|
self |
) |
|
def utest::RospackTestCase::test_quiet_option |
( |
|
self |
) |
|
def utest::RospackTestCase::test_ros_cache_timeout |
( |
|
self |
) |
|
def utest::RospackTestCase::test_ros_home |
( |
|
self |
) |
|
def utest::RospackTestCase::test_ros_in_package |
( |
|
self |
) |
|
def utest::RospackTestCase::test_ros_package_path_bad_paths |
( |
|
self |
) |
|
def utest::RospackTestCase::test_ros_package_path_colons |
( |
|
self |
) |
|
def utest::RospackTestCase::test_ros_package_path_direct_package |
( |
|
self |
) |
|
def utest::RospackTestCase::test_ros_package_path_precedence |
( |
|
self |
) |
|
tests internal rpp precedence (#2854)
Definition at line 413 of file utest.py.
def utest::RospackTestCase::test_ros_package_path_precedence_1 |
( |
|
self |
) |
|
tests rpp vs rr precedence
Definition at line 426 of file utest.py.
def utest::RospackTestCase::test_ros_root_ros_package_path_identical |
( |
|
self |
) |
|
test rospack with ROS_ROOT=ROS_PACKAGE_PATH
Definition at line 395 of file utest.py.
def utest::RospackTestCase::test_rosdep |
( |
|
self |
) |
|
def utest::RospackTestCase::test_rospack_depends_on_not_a_package |
( |
|
self |
) |
|
test rospack depends-on1 in a directory that's not a package (#2556)
Definition at line 539 of file utest.py.
def utest::RospackTestCase::test_rospack_find_direct |
( |
|
self |
) |
|
test rospack find with ros_package_path set directly to a package
Definition at line 620 of file utest.py.
def utest::RospackTestCase::test_rospack_find_direct_with_rospack_nosubdirs |
( |
|
self |
) |
|
test rospack find with ros_package_path set directly to a package, where that package contains a rospack_nosubdirs file, #3191.
Definition at line 628 of file utest.py.
def utest::RospackTestCase::test_rospack_find_fail |
( |
|
self |
) |
|
rospack find
test rospack find on non-existent package
Definition at line 615 of file utest.py.
def utest::RospackTestCase::test_rospack_find_no_rpp |
( |
|
self |
) |
|
def utest::RospackTestCase::test_rospack_list_dups |
( |
|
self |
) |
|
def utest::RospackTestCase::test_rospack_list_empty |
( |
|
self |
) |
|
test rospack list on an empty tree
Definition at line 532 of file utest.py.
def utest::RospackTestCase::test_rospack_list_names_dups |
( |
|
self |
) |
|
def utest::RospackTestCase::test_rospack_list_names_empty |
( |
|
self |
) |
|
test rospack list-names on an empty tree
Definition at line 585 of file utest.py.
def utest::RospackTestCase::test_rospack_list_names_no_rpp |
( |
|
self |
) |
|
def utest::RospackTestCase::test_rospack_list_no_rpp |
( |
|
self |
) |
|
def utest::RospackTestCase::test_vcs0_deps |
( |
|
self |
) |
|
def utest::RospackTestCase::test_vcs_deps |
( |
|
self |
) |
|
def utest::RospackTestCase::test_vcs_invalid |
( |
|
self |
) |
|
def utest::RospackTestCase::test_vcs_no_type_or_url |
( |
|
self |
) |
|
The documentation for this class was generated from the following file: