v01
This commit is contained in:
30
thirdparty/ros/ros_comm/tools/rostest/test/param.test
vendored
Normal file
30
thirdparty/ros/ros_comm/tools/rostest/test/param.test
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<launch>
|
||||
<!-- These parameters are registered to Parameter Server and
|
||||
will be accessed by the test cases. -->
|
||||
<param name="param_nonempty" value="This param is not empty." />
|
||||
<param name="param_empty" value="" />
|
||||
<param name="param_value_specific" value="Opensource Robotics is forever." />
|
||||
|
||||
<test pkg="rostest" type="paramtest" name="paramtest_nonempty"
|
||||
test-name="paramtest_nonempty">
|
||||
<param name="param_name_target" value="param_nonempty" />
|
||||
<param name="test_duration" value="5.0" />
|
||||
<param name="wait_time" value="20.0" />
|
||||
</test>
|
||||
|
||||
<test pkg="rostest" type="paramtest" name="paramtest_empty"
|
||||
test-name="paramtest_empty">
|
||||
<param name="param_name_target" value="param_empty" />
|
||||
<param name="test_duration" value="5.0" />
|
||||
<param name="wait_time" value="30.0" />
|
||||
</test>
|
||||
|
||||
<test pkg="rostest" type="paramtest" name="paramtest_value_specific_correct"
|
||||
test-name="paramtest_value_specific_correct">
|
||||
<param name="param_name_target" value="param_value_specific" />
|
||||
<param name="param_value_expected" value="Opensource Robotics is forever." />
|
||||
<param name="test_duration" value="5.0" />
|
||||
<param name="wait_time" value="30.0" />
|
||||
</test>
|
||||
|
||||
</launch>
|
||||
Reference in New Issue
Block a user