Public Member Functions | |
def | setUp (self) |
def | test_set_HW_status (self) |
def | test_set_operation_modes (self) |
def | test_set_ROS_status (self) |
def | test_set_speed (self) |
Public Attributes | |
psi | |
These tests ensure that status changes for the widget make the correct calls internally to display these information correctly.
Definition at line 42 of file status_indicator_widget_unit_test.py.
def status_indicator_widget_unit_test.TestStatusIndicatorWidget.setUp | ( | self | ) |
initializing a widget to be tested.
Definition at line 48 of file status_indicator_widget_unit_test.py.
def status_indicator_widget_unit_test.TestStatusIndicatorWidget.test_set_HW_status | ( | self | ) |
Testing whether the LED for the HW status is turning correctly red and green.
Definition at line 69 of file status_indicator_widget_unit_test.py.
def status_indicator_widget_unit_test.TestStatusIndicatorWidget.test_set_operation_modes | ( | self | ) |
Testing whether setting the operation mode loads the correct icon and displays the right text.
Definition at line 86 of file status_indicator_widget_unit_test.py.
def status_indicator_widget_unit_test.TestStatusIndicatorWidget.test_set_ROS_status | ( | self | ) |
Testing whether the LED for the ROS status is turning correctly red and green.
Definition at line 52 of file status_indicator_widget_unit_test.py.
def status_indicator_widget_unit_test.TestStatusIndicatorWidget.test_set_speed | ( | self | ) |
Testing whether the speed override values are interpreted in the widget correctly, both for the conversion to percentage and the capping of input values between 0 and 1.
Definition at line 132 of file status_indicator_widget_unit_test.py.
status_indicator_widget_unit_test.TestStatusIndicatorWidget.psi |
Definition at line 50 of file status_indicator_widget_unit_test.py.