diff --git a/atests/hardware_needed_examples_results/HID/.xml b/atests/hardware_needed_examples_results/HID/.xml deleted file mode 100644 index faa509c..0000000 --- a/atests/hardware_needed_examples_results/HID/.xml +++ /dev/null @@ -1,240 +0,0 @@ - - - - - -${IFILE} = <_io.BufferedReader name='/dev/hidraw0'> -${IFILE} -Opens a file filepath for reading binary data. - - - -${OFILE} = <_io.FileIO name='/dev/hidraw0' mode='wb' closefd=True> -${OFILE} -Opens a file filepath for writing binary data. - - - -${\n}Press left alt and hold please -Logs the given message to the console. - - - -parsed: Container: - modifiers = Container: - right_gui = False - right_alt = False - right_shift = False - right_ctrl = False - left_gui = False - left_alt = True - left_shift = False - left_ctrl = False - reserved = 0 - keys = ListContainer: - 0 - 0 - 0 - 0 - 0 - 0 using <Compiled HIDReportIn> from 04 00 00 00 00 00 00 00 -${LeftAltPressed} = Container: - modifiers = Container: - right_gui = False - right_alt = False - right_shift = False - right_ctrl = False - left_gui = False - left_alt = True - ... -${LeftAltPressed} -Parses binary data using a construct. The binary data can be a byte array, a readable binary file object, or a TCP/UDP socket. - - - -descending to 'modifiers' of 'Container: - modifiers = Container: - right_gui = False - right_alt = False - right_shift = False - right_ctrl = False - left_gui = False - left_alt = True - left_shift = False - left_ctrl = False - reserved = 0 - keys = ListContainer: - 0 - 0 - 0 - 0 - 0 - 0' -descending to 'left_alt' of 'Container: - right_gui = False - right_alt = False - right_shift = False - right_ctrl = False - left_gui = False - left_alt = True - left_shift = False - left_ctrl = False' -Checks that the element located at locator in construct is equal to expectedValue. - - - -${\n}Press and hold right shift please -Logs the given message to the console. - - - -parsed: Container: - modifiers = Container: - right_gui = False - right_alt = False - right_shift = True - right_ctrl = False - left_gui = False - left_alt = True - left_shift = False - left_ctrl = False - reserved = 0 - keys = ListContainer: - 0 - 0 - 0 - 0 - 0 - 0 using <Compiled HIDReportIn> from 24 00 00 00 00 00 00 00 -${LeftAltPressed} = Container: - modifiers = Container: - right_gui = False - right_alt = False - right_shift = True - right_ctrl = False - left_gui = False - left_alt = True - ... -${LeftAltPressed} -Parses binary data using a construct. The binary data can be a byte array, a readable binary file object, or a TCP/UDP socket. - - - -descending to 'modifiers' of 'Container: - modifiers = Container: - right_gui = False - right_alt = False - right_shift = True - right_ctrl = False - left_gui = False - left_alt = True - left_shift = False - left_ctrl = False - reserved = 0 - keys = ListContainer: - 0 - 0 - 0 - 0 - 0 - 0' -descending to 'right_shift' of 'Container: - right_gui = False - right_alt = False - right_shift = True - right_ctrl = False - left_gui = False - left_alt = True - left_shift = False - left_ctrl = False' -Checks that the element located at locator in construct is equal to expectedValue. - - - -built: 00 00 00 00 00 00 00 00 (a total of 8 bytes) using "<Compiled HIDReportOut>" from :" -{'ReportID': 0, - 'modifiers': {'CAPS_LOCK': False, 'NUM_LOCK': False, 'SCROLL_LOCK': False}, - 'reserved': [0, 0, 0, 0, 0, 0]}" -Writes binary data to a file or sends it over a socket. - - - -${\n}The three leds should be off now -Logs the given message to the console. - - - -Slept 1 second. -1 -Pauses the test executed for the given time. - - - -descending to 'modifiers' of '{'ReportID': 0, 'modifiers': {'SCROLL_LOCK': False, 'NUM_LOCK': False, 'CAPS_LOCK': False}, 'reserved': [0, 0, 0, 0, 0, 0]}' -Modifies the element located at locator in constructDict to the value value. - - - -built: 00 04 00 00 00 00 00 00 (a total of 8 bytes) using "<Compiled HIDReportOut>" from :" -{'ReportID': 0, - 'modifiers': {'CAPS_LOCK': False, 'NUM_LOCK': False, 'SCROLL_LOCK': True}, - 'reserved': [0, 0, 0, 0, 0, 0]}" -Writes binary data to a file or sends it over a socket. - - - -${\n}The scroll lock led should be on now -Logs the given message to the console. - - - -Slept 1 second. -time_=1 -Pauses the test executed for the given time. - - - -descending to 'modifiers' of '{'ReportID': 0, 'modifiers': {'SCROLL_LOCK': True, 'NUM_LOCK': False, 'CAPS_LOCK': False}, 'reserved': [0, 0, 0, 0, 0, 0]}' -Modifies the element located at locator in constructDict to the value value. - - - -descending to 'modifiers' of '{'ReportID': 0, 'modifiers': {'SCROLL_LOCK': False, 'NUM_LOCK': False, 'CAPS_LOCK': False}, 'reserved': [0, 0, 0, 0, 0, 0]}' -Modifies the element located at locator in constructDict to the value value. - - - -built: 00 01 00 00 00 00 00 00 (a total of 8 bytes) using "<Compiled HIDReportOut>" from :" -{'ReportID': 0, - 'modifiers': {'CAPS_LOCK': True, 'NUM_LOCK': False, 'SCROLL_LOCK': False}, - 'reserved': [0, 0, 0, 0, 0, 0]}" -Writes binary data to a file or sends it over a socket. - - - -${\n}The caps lock led should be on now -Logs the given message to the console. - - -hardware - - -This is a simple example for a robot file using robotframework-construct demonstrating accessing real HW over the USB HID interface. - -This currently only tested on linux - - - - -All Tests - - -hardware - - -Hid Keyboard - - - - -