Skip to content

Commit

Permalink
[face_detector][test] Fix warning in .launch format.
Browse files Browse the repository at this point in the history
[face_detector][test] Fix namespace in testcases.
  • Loading branch information
130s committed Feb 16, 2017
1 parent 4daa0af commit 23508e0
Showing 1 changed file with 21 additions and 13 deletions.
34 changes: 21 additions & 13 deletions face_detector/test/common_rtest.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
<launch>
<arg name="expected_success" default="true" />
<arg name="hz" default="30.0" />
<arg name="hz_error" default="29.9" />
<arg name="testnode_name" default="hztest1" />

<test test-name="hztest_test" pkg="rostest" type="hztest" name="$(arg testnode_name)">
<group unless="$(arg expected_success)">
<node pkg="rosbag" type="play" name="play" args="-r 0.5 $(find face_detector)/test/face_detector_noface_test_diamondback.bag"/>
<group unless="$(arg expected_success)">
<node pkg="rosbag" type="play" name="play" args="-r 0.5 $(find face_detector)/test/face_detector_noface_test_diamondback.bag"/>

<test test-name="hztest_test" pkg="rostest" type="hztest" name="$(arg testnode_name)">
<param name="topic" value="face_detector/people_tracker_measurements_array" />
<param name="hz" value="0.0" />
</group>
<group if="$(arg expected_success)">
<node pkg="rosbag" type="play" name="play" args="-r 0.5 $(find face_detector)/test/face_detector_withface_test_diamondback.bag"/>
<param name="hz" value="30.0" />
<param name="hzerror" value="29.9" />
</group>

<param name="topic" value="face_detector/people_tracker_measurements_array" />
<param name="test_duration" value="15.0" />
</test>
<param name="hzerror" value="0.0" />
<param name="test_duration" value="15.0" />
</test>
</group>
<group if="$(arg expected_success)">
<node pkg="rosbag" type="play" name="play" args="-r 0.5 $(find face_detector)/test/face_detector_withface_test_diamondback.bag"/>

<test test-name="hztest_test" pkg="rostest" type="hztest" name="$(arg testnode_name)">
<param name="topic" value="face_detector/people_tracker_measurements_array" />
<param name="hz" value="$(arg hz)" />
<param name="hzerror" value="$(arg hz_error)" />
<param name="test_duration" value="15.0" />
</test>
</group>
</launch>

0 comments on commit 23508e0

Please sign in to comment.