|
def | __init__ (self) |
|
def | register_callback (self, key, callback, force=False) |
| Register callback for a specific event (key: event name) More...
|
|
def | get_callbacks (self) |
|
def | setup (self) |
|
def | result (self) |
|
def | teardown (self) |
|
def | notify_complete (self, result=None) |
| Notify main even loop that host test finished processing. More...
|
|
def | reset_dut (self, value) |
|
def | reset (self) |
|
def | notify_conn_lost (self, text) |
| Notify main even loop that there was a DUT-host test connection error. More...
|
|
def | log (self, text) |
| Send log message to main event loop. More...
|
|
def | send_kv (self, key, value) |
| Send Key-Value data to DUT. More...
|
|
def | setup_communication (self, event_queue, dut_event_queue, config={}) |
| Setup queues used for IPC. More...
|
|
def | get_config_item (self, name) |
|
def | setup (self) |
| Setup your tests and callbacks. More...
|
|
def | result (self) |
| Returns host test result (True, False or None) More...
|
|
def | teardown (self) |
| Blocking always guaranteed test teardown. More...
|
|
Definition at line 130 of file base_host_test.py.
◆ __init__()
def mbed_host_tests.host_tests.base_host_test.HostTestCallbackBase.__init__ |
( |
|
self | ) |
|
◆ get_callbacks()
def mbed_host_tests.host_tests.base_host_test.HostTestCallbackBase.get_callbacks |
( |
|
self | ) |
|
◆ register_callback()
def mbed_host_tests.host_tests.base_host_test.HostTestCallbackBase.register_callback |
( |
|
self, |
|
|
|
key, |
|
|
|
callback, |
|
|
|
force = False |
|
) |
| |
Register callback for a specific event (key: event name)
- Parameters
-
key | String with name of the event |
callback | Callable which will be registstered for event "key" |
force | God mode |
Definition at line 201 of file base_host_test.py.
◆ result()
def mbed_host_tests.host_tests.base_host_test.HostTestCallbackBase.result |
( |
|
self | ) |
|
◆ setup()
def mbed_host_tests.host_tests.base_host_test.HostTestCallbackBase.setup |
( |
|
self | ) |
|
◆ teardown()
def mbed_host_tests.host_tests.base_host_test.HostTestCallbackBase.teardown |
( |
|
self | ) |
|
The documentation for this class was generated from the following file: