Commit Graph

383 Commits

Author SHA1 Message Date
Ken Conley 79b4f7945f bug fix for sys import 2010-04-08 02:14:48 +00:00
Ken Conley d1884c815b rostest: roslaunch-check.py now support #2154 (directories) 2010-04-08 01:49:41 +00:00
Ken Conley 36443bd94f rospy: #2347 implemented ServiceProxy.wait_for_service(). Required restructuring of libraries in submodules. Also includes tests 2010-04-07 23:34:46 +00:00
Ken Conley dcce3bc59b test_roslib: adding unit test for check_types so I can work on #2074 2010-04-07 17:28:26 +00:00
Ken Conley 28a5ff005e roslaunch: #2468 low-level unit tests 2010-04-07 17:06:21 +00:00
Josh Faust a77d8567f4 Fix waitForMessage() timeout to not return immediately, and fix unit test to actually test against it 2010-04-05 23:01:27 +00:00
Ken Conley 83f99f2400 update to test to handle new string deser 2010-04-02 19:02:42 +00:00
Ken Conley f7231c2aa7 roslaunch: redoing/updating node name logic for rosh. new guarantees on node name assignment and changing return value of launch_nodes to be externally useful 2010-04-02 00:58:08 +00:00
Josh Faust 08f60be9f7 ROS_ENABLE_DEBUG -> ROSCPP_ENABLE_DEBUG 2010-03-23 21:57:51 +00:00
Ken Conley a03cf6614a svn keywords 2010-03-22 23:30:19 +00:00
Ken Conley 9ba6fddb74 adding test_roslib 2010-03-22 22:48:16 +00:00
Ken Conley 43f4c568d2 roslib.is_interactive/set_interactive flags 2010-03-22 22:30:04 +00:00
Ken Conley b15339bdee removing setup_default_environment test now that the routine is gone 2010-03-22 22:23:15 +00:00
Ken Conley 328943c1f7 roslib: #2542 removed roslib/Time.msg 2010-03-18 21:25:43 +00:00
Josh Faust 5547af4afd remove references to roslib::Time 2010-03-18 21:22:05 +00:00
Ken Conley 85499dc6b9 rostopic: now supports getTopicsTypes() in find, type, info, and list methods so that subscriber-declared types are shown 2010-03-18 21:04:02 +00:00
Ken Conley 8233619f4c rospy: #2536 bug fix for on_shutdown failing. Reworked shutdown logic to have separate list for client shutdown hooks 2010-03-18 20:26:41 +00:00
Ken Conley 6b947cca65 rosmaster: adding getTopicTypes in order to support subscribers declaring types 2010-03-18 20:17:47 +00:00
Josh Faust 9318186e70 Rename some badly-named macros 2010-03-17 22:34:43 +00:00
Josh Faust e8b5f0f65e Fix locale issues with sending double values to the parameter server (#2438) 2010-03-17 19:25:28 +00:00
Josh Faust 01523f1aba fix loads_of_publishers args 2010-03-17 19:10:29 +00:00
Josh Faust e9b228169b tone down loads_of_publishers a bit 2010-03-17 18:58:04 +00:00
Josh Faust 32747d8478 Don't retry if there was a header error (e.g. mismatched md5sum) 2010-03-16 18:38:21 +00:00
Ken Conley aacd79220f test_roslib: #2514 added ps tests, plus refactored to make it shorter and more readable 2010-03-15 22:56:27 +00:00
Ken Conley 8612e12eb0 test_rosservice: #2523 2010-03-15 22:22:43 +00:00
Josh Faust 8c08fd0e8f Merge subscription retry to trunk 2010-03-12 23:27:34 +00:00
Ken Conley 3a0a0232c0 removing valid_type_name test 2010-03-06 02:52:17 +00:00
Ken Conley a04087abb1 test_rospy: removing tests for removed api calls 2010-03-06 00:58:26 +00:00
Ken Conley f003412a14 roslib: fixing tests 2010-03-06 00:55:59 +00:00
Ken Conley 8f2ee6572e updated tests 2010-03-05 23:59:04 +00:00
Ken Conley 9795d7a678 test_rosmaster: updated tests 2010-03-05 23:58:57 +00:00
Josh Faust cdadb20fbe Pass along remappings from parent node handles (#2454) 2010-03-05 22:37:06 +00:00
Josh Faust 189485d7a2 add message file I forgot 2010-03-05 22:33:55 +00:00
Josh Faust 4b32097f0f Correct initialization of constant floating point and string values (#2478) 2010-03-05 22:18:50 +00:00
Tully Foote 6b2d820229 acutally fixing tests 2010-02-23 23:15:24 +00:00
Josh Faust b7d2f5af73 add operator<< for messages (#2461) 2010-02-23 19:16:50 +00:00
Josh Faust 35d4b08726 * Add new members to MsgSpec, SrvSpec: name, short_name, package
* Add new roslib.msgs.Field class, which contains name, type, base_type, is_array, array_len, is_header, is_builtin
 * Add MsgSpec.parsed_fields() which returns a list of Fields
 * Rework roscpp genmsg/gensrv code to work w/new members
 * Rework roscpp gensrv code to generate MsgRequest/MsgResponse classes that get put outside the service struct, and typedef'd in
2010-02-22 22:53:13 +00:00
Josh Faust 56cba86cf3 update check_master test for removal of master's shutdown function 2010-02-19 00:59:50 +00:00
Josh Faust e789e6ac7a Merge message_overhaul branch to trunk 2010-02-18 22:22:20 +00:00
Ken Conley 6caf5e7482 test_ros: adding in a test for master.getUri(). Cleaned up some documentation 2010-02-17 01:43:27 +00:00
Ken Conley a6fe9bc314 test_rospy: removing more master tests 2010-02-17 01:26:38 +00:00
Ken Conley 4ce3b4b74b test_rosmaster: transferring over rospy tests 2010-02-17 01:26:00 +00:00
Ken Conley e9b25ed067 updated to rosmaster 2010-02-16 22:12:51 +00:00
Ken Conley d703706ade roslib: removing roslib.masterapi.getMasterUri as rosmaster removes this redundant/inherited API 2010-02-16 22:02:12 +00:00
Ken Conley 6729c63c0b rospy: disabling zenmaster in favor of rosmaster 2010-02-16 20:20:11 +00:00
Ken Conley 047ca94e9d rostest: #2367 test_results is created with parent perms, just in case this also creates the .ros directory 2010-02-16 19:54:02 +00:00
Ken Conley 9bdc3cda07 test_rospy: removing zenmaster tests in preparation for zenmaster removal 2010-02-16 19:52:19 +00:00
Ken Conley b3c255d614 test_roslaunch: add rosmaster tests, no longer validate botherder 2010-02-15 18:09:47 +00:00
Ken Conley c5b3c08481 test_rosmaster: fixed test name 2010-02-13 03:57:26 +00:00
Ken Conley ea03d9267e rosmaster: adding in parameter server test 2010-02-13 03:54:00 +00:00
Ken Conley bb8dc1f2e7 rospy: moved constants out of core as they are only used in masterslave.py 2010-02-13 03:45:47 +00:00
Ken Conley 54b96a030c rospy: migrating code to use roslib.names.resolve_name where appropriate, import cleanup 2010-02-11 23:16:42 +00:00
Ken Conley cb2623008d roslib: resolve_name() now passes tests correctly. test was configured incorrectly 2010-02-11 19:07:41 +00:00
Ken Conley 877bd047c5 roslib: adding a stripped down resolve_name from rospy to assist with refactoring rosmaster. 2010-02-11 18:59:03 +00:00
Josh Faust e89715c3fb missed a spot 2010-02-09 06:35:16 +00:00
Josh Faust ff404880a3 More fixes to remove message allocation/copying from the equation 2010-02-09 06:20:22 +00:00
Josh Faust 3094b7a71f fix perf tests to not include time taken by message copy or vector fill 2010-02-09 05:53:43 +00:00
Ken Conley cb4e847292 test_msgs: #2396 changing test_msgs layout to no longer confuse roswtf 2010-02-02 18:04:54 +00:00
Josh Faust 03b3fd4592 Fix caching of XmlRpcValue parameters to not always return true the 2nd time getCached is called 2010-01-26 19:15:46 +00:00
Ken Conley fc735e6ebc flagging test packages as 'test' status 2010-01-22 20:05:02 +00:00
Tully Foote 852a3a0e45 fixing tests 2010-01-22 02:48:02 +00:00
Tully Foote bd041bf175 adding usage test 2010-01-21 21:25:16 +00:00
Tully Foote 55895b25ea adding exclude test 2010-01-21 18:38:17 +00:00
Tully Foote 16986dd638 new tests for rxdeps 2010-01-21 18:31:43 +00:00
Ken Conley fbc75369e8 roslib.rospack: rospack/rosstack execution must be ros_root-relative 2010-01-21 18:19:41 +00:00
Ken Conley 15ead12a84 rospy: #2360 improved error message and removed logging message 2010-01-20 02:00:31 +00:00
Ken Conley 961006e290 rospy: #2362 ROSInterruptException is now a subclass of KeyboardInterrupt 2010-01-20 01:46:50 +00:00
Jeremy Leibs fe4a5d18d3 Verifying that connection_header information is being populated now. 2010-01-19 10:58:27 +00:00
Ken Conley 46750e18c9 roslib.msgs: fixed edge cases in resolve_type with both arrays of primitives as well as the Header type 2010-01-18 22:04:29 +00:00
Ken Conley 1d0dcff59f roslib: #2346 roslib.stacks.get_stack_dir now raises InvalidROSStackException to match behavior of get_pkg_dir 2010-01-14 18:55:53 +00:00
Jeremy Leibs 47a46cd733 Adding unit-test to verify that Player now gets correct emssage definitions. 2010-01-14 02:11:45 +00:00
Ken Conley 2af5da1cab roslaunch: #2111 fixed illegal parameter name 2010-01-13 22:10:07 +00:00
Ken Conley f402d52097 rospy: #2312 fixed bugs with rospy service proxy dealing with client returning a failure. There were separate issues for the persistent and non-persistent case. Also added unit tests for this and changed handler spec so that returning None is always a failure, which is a more clear behavior. Similarly, suppress stack trace if handler returns ServiceException. 2010-01-13 20:16:33 +00:00
Ken Conley 741639fc6e test_ros: adding fail_two_ints_server for testing 2010-01-13 20:13:53 +00:00
Brian Gerkey 7445340758 Added link to boost, needed on OS X 2010-01-13 07:55:36 +00:00
Ken Conley e549160c9c test_rospy: re-enabling post r7839, #2340 2010-01-13 07:32:27 +00:00
Ken Conley ae746c0afc test_rospy: re-disabling pending further investigation 2010-01-13 07:19:41 +00:00
Ken Conley d983400159 test_rospy: re-enabling test 2010-01-13 07:16:15 +00:00
Brian Gerkey acf8b96ec2 Disabled hanging test 2010-01-13 06:58:32 +00:00
Jeremy Leibs 16b865e7b9 Adding some very simple unit tests for the c++ recorder and player. 2010-01-13 05:30:03 +00:00
Josh Faust 2ee18434ca remove deprecated versions of getParam/param::get 2010-01-13 02:57:44 +00:00
Ken Conley 34edb3abab rostest: doc reviewed 2010-01-13 01:53:25 +00:00
Ken Conley 0cab1b2d3d updating test_roscreate tests now that ros is auto-inserted 2010-01-09 05:48:03 +00:00
Tully Foote cb3ec2dc0a removing replaced code and removing unnecessary hack 2010-01-08 19:58:14 +00:00
Brian Gerkey 8cb6577961 Renamed tests to be more meaningful, #1746. 2010-01-08 18:50:14 +00:00
Josh Faust f8dda81a84 Possible fix for hardy hudson failures 2010-01-08 17:43:11 +00:00
Ken Conley d1d5565c12 perf_roscpp: review status test 2010-01-08 09:33:50 +00:00
Brian Gerkey bd7ecf580e Added basic tests for roslocate, #1472. 2010-01-08 05:41:05 +00:00
Ken Conley f8a87d1625 roslib: #2283 adding partial support for Windows/cygwin. A more complete version of this should be implemented using PATHEXT 2010-01-06 23:10:24 +00:00
Josh Faust 97b40cb285 hopefully fix hardy failure 2010-01-06 21:50:48 +00:00
Ken Conley 560e92f59b roswtf: bug fixes and cleanup in ROS stack 2010-01-04 18:54:20 +00:00
Tully Foote f2e4d16cf3 adding tripwire tests for all Rosdep methods 2010-01-04 18:29:53 +00:00
Tully Foote fe080daa46 oops 2010-01-01 00:35:07 +00:00
Tully Foote cc30091125 extending coverage of yaml_cache 2010-01-01 00:05:04 +00:00
Ken Conley e286faa98b testing commit 2009-12-31 20:21:34 +00:00
Tully Foote 51e262bda6 fixing test due to fixed parsing of floats 2009-12-30 04:11:06 +00:00
Josh Faust 374b495ebf Add test for case with lots of publishers connected to a single subscriber 2009-12-24 00:38:40 +00:00
Josh Faust 6894ab6785 More realistic serialize/deserialize test 2009-12-23 23:26:17 +00:00
Tully Foote f21a43d12f only parsing each yaml file once toward #2191 2009-12-23 06:39:35 +00:00
Tully Foote 8a3d18b3e0 adding coverage of yaml cache 2009-12-22 17:53:04 +00:00
Ken Conley 93fe66f589 rospy: unit tests to verify type checking resolution 2009-12-22 00:48:47 +00:00
Ken Conley 101d743958 ros command line tools: improved usage tests, bug fixes to usage statements found by tests 2009-12-21 20:10:10 +00:00
Tully Foote ff11dad475 fixing test 2009-12-21 19:50:16 +00:00
Tully Foote fab1d23c2e adding basic unit tests for rosdep YamlCache, and removing unused caching capability 2009-12-21 19:02:07 +00:00
Ken Conley 08f810667a roslib.stacks: #2199 fixed precedence bug. also added regression tests 2009-12-19 22:43:41 +00:00
Ken Conley ae0b04ce35 test_roscreate: simple regression tests for roscreate-stack 2009-12-19 20:56:41 +00:00
Tully Foote ae0b1edab5 adding platform supported methods to roslib.packages #2187 2009-12-18 23:27:23 +00:00
Ken Conley 36c5f21317 roslib.stacks: performance tuning get_stack_dir, list_stacks 2009-12-18 21:31:32 +00:00
Tully Foote 49b1c7216a yaml cache saves almost 50% time. 3:56 to 2:33 for same command 2009-12-18 20:04:35 +00:00
Tully Foote d272a376b3 adding command line usage test 2009-12-18 18:38:20 +00:00
Tully Foote 1164d9fc45 a little bit of polish for #2196 and tests to make test suite catch syntax errors 2009-12-18 18:27:50 +00:00
Tully Foote ba24462e3d adding test for error found in #2182 2009-12-18 07:47:57 +00:00
Tully Foote 8bdac5ea1c more rosdep tests, and a few fixes along with them. much more rigorous 2009-12-18 07:44:07 +00:00
Tully Foote 4ec906abe6 more rosdep tests, and a few fixes along with them. much more rigorous 2009-12-18 07:38:30 +00:00
Tully Foote c1647b314f improving tests, and caught but in sources list not in override mode 2009-12-18 06:48:58 +00:00
Tully Foote f7b0363756 more unit tests for rosdep 2009-12-18 06:17:05 +00:00
Tully Foote 651d0e3640 more unit tests 2009-12-18 04:41:52 +00:00
Tully Foote c57b5580ec fixing test on non ubuntu 2009-12-18 04:17:25 +00:00
Tully Foote d5b3098652 unit tests for rosdep 2009-12-18 04:06:15 +00:00
Tully Foote 3bf44125e8 first pyunit test 2009-12-18 03:55:52 +00:00
Tully Foote 7025e9c0f3 creating test_rosdep package 2009-12-18 03:28:25 +00:00
Ken Conley a2cc6606bb roslib.manifest: #2186 support for platform tag 2009-12-18 02:54:05 +00:00
Tully Foote 84330eb94f converting get_os_specific_class to get_os and adding tests #2194 2009-12-18 02:53:37 +00:00
Ken Conley 28b0ed1366 test_roslib: updated tests for names 2009-12-18 02:53:29 +00:00
Tully Foote 9100825431 OSBase added to os_detect and OSAbstraction renamed to OSDetect as per API review #2194 2009-12-18 02:22:59 +00:00
Ken Conley 3e85bbbfea roslib.names: updated unit test 2009-12-18 01:57:15 +00:00
Ken Conley 6a1ea6d711 roslib.names: updated to current namespec, added separate routines for base names and resource names. Removed ROSNameException and replaced usage with ValueError 2009-12-18 01:54:40 +00:00
Ken Conley a7d1ad301f rospy: #2011 keyword-filling for service args as well as returning unwrapped types from service handlers. Unit tests as well. 2009-12-18 00:39:24 +00:00
Ken Conley 14abf69006 test_rospy: removing accidental dep 2009-12-17 01:36:16 +00:00
Ken Conley 8d4646a478 rostest: updated test comment 2009-12-17 01:23:21 +00:00
Ken Conley 53482bc6b3 rostest: #2024 hztest with zero rate 2009-12-17 01:20:22 +00:00
Ken Conley dc1c260ce0 rospy: #2139 unit test for gensrv bug 2009-12-17 01:12:06 +00:00
Tully Foote 55b7590c40 adding roslib changes 2009-12-17 00:07:30 +00:00
Ken Conley 27526d12d3 removing SomeConstants. Although useful, not integrated with any actual test harness 2009-12-16 23:58:15 +00:00
Ken Conley 6f035318fa test_rosrecord: basic python unit tests for logplayer functionality 2009-12-16 18:56:02 +00:00
Josh Faust 290aa9e06d Fix pingpong + handles tests given the new default timeout of 0 for callAvailable/callOne 2009-12-16 02:34:28 +00:00
Brian Gerkey 3727cbaf1a Explicitly point ROS_ROOT at a non-existent directory for tests. 2009-12-15 17:02:33 +00:00
Ken Conley 2c278a6606 test_roslib: changed rr/rpp config so that rr no longer overlapped 2009-12-15 07:32:36 +00:00
Ken Conley a4d04d262a roslaunch: #1985 proof of concept for roslaunch parse testing as unit test 2009-12-15 06:46:22 +00:00
Ken Conley 8aa30712fc roslib: #2150 fixed list_pkgs_by_path to respect path order 2009-12-15 01:03:16 +00:00
Ken Conley b2f1323e07 rosnode: #2101 list now accept namespaces. Reworked code to add unit tests. Minor cleanup in rosparam tests 2009-12-12 02:24:48 +00:00
Ken Conley 93fe93a762 rosparam: coverage tests 2009-12-10 22:21:51 +00:00
Josh Faust 15133d6856 Fix the rest of the test_roscpp tests that had no name on their node tags 2009-12-10 02:25:47 +00:00
Ken Conley ec1b732291 test_roscpp: name attr 2009-12-10 02:17:41 +00:00
Ken Conley 0fa2b80b88 test_roscpp: adding node names 2009-12-10 02:14:52 +00:00
Ken Conley 1c03e0c629 test_rospy: fixing name of listenerpublisher node 2009-12-10 02:07:08 +00:00
Ken Conley e9b7c0ee13 test_roslib: missing test msg 2009-12-10 02:05:59 +00:00
Ken Conley 2b04006bdf test_roslaunch: fixing test files now that name attribute is required 2009-12-10 02:05:28 +00:00
Josh Faust 7865ee5ead Add ros::topic::waitForMessage() (#2084) 2009-12-10 02:05:28 +00:00
Ken Conley d320586bad test_rosrecord: name attribute in rostest file 2009-12-10 00:51:35 +00:00