Skip to content

Commit

Permalink
Merge pull request #880 from k-okada/add_test_879
Browse files Browse the repository at this point in the history
add test to check (ServiceButtonGeneralWidget_in_tab
  • Loading branch information
k-okada authored May 29, 2023
2 parents d653352 + d7d960c commit 8cfd3b6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class ServiceButtonGeneralWidget_in_tab(ServiceButtonGeneralWidget):
Qt widget to visualize multiple buttons
"""
def __init__(self, settings):
super(ServiceButtonGeneralWidget, self).__init__()
super(ServiceButtonGeneralWidget_in_tab, self).__init__()
yaml_file = settings['yaml_file']
namespace = None
if 'type' in settings:
Expand Down
20 changes: 20 additions & 0 deletions jsk_rqt_plugins/test/test_rqt_plugins.test
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,24 @@
pkg="jsk_rqt_plugins" type="test_rqt_plugins.py"
retry="3"/>

<!-- rqt_tabbed_button -->
<node name="rqt_tabbed_buttons"
pkg="jsk_rqt_plugins" type="rqt_tabbed_buttons"
required="true">
<rosparam>
tabbed_layout:
tab_list: ['push', 'radio']
push:
name: 'push button'
namespace: push
type: push
yaml_file: 'package://jsk_rqt_plugins/resource/service_button_layout.yaml'
radio:
name: 'radio button'
namespace: radio
type: radio
yaml_file: 'package://jsk_rqt_plugins/resource/service_radio_button_layout.yaml'
</rosparam>
</node>

</launch>

0 comments on commit 8cfd3b6

Please sign in to comment.