Public Member Functions | Public Attributes | List of all members
status_indicator_widget_unit_test.TestStatusIndicatorWidget Class Reference
Inheritance diagram for status_indicator_widget_unit_test.TestStatusIndicatorWidget:
Inheritance graph

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


Detailed Description

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

Member Function Documentation

def status_indicator_widget_unit_test.TestStatusIndicatorWidget.setUp (   self)
initializing a widget to be tested.

Definition at line 48 of file

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

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

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

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

Member Data Documentation


Definition at line 50 of file

The documentation for this class was generated from the following file:

autogenerated on Tue Feb 2 2021 03:50:27