Mbed Host Tests
mbed_host_tests.host_tests.base_host_test.BaseHostTest Class Reference
Inheritance diagram for mbed_host_tests.host_tests.base_host_test.BaseHostTest:
mbed_host_tests.host_tests.base_host_test.HostTestCallbackBase mbed_host_tests.host_tests.base_host_test.BaseHostTestAbstract object

Public Member Functions

 base_host_test_inited (self)
 
 __init__ (self)
 
- Public Member Functions inherited from 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)
 
 get_callbacks (self)
 
 setup (self)
 Setup your tests and callbacks.
 
 result (self)
 Returns host test result (True, False or None)
 
 teardown (self)
 Blocking always guaranteed test teardown.
 
- Public Member Functions inherited from mbed_host_tests.host_tests.base_host_test.BaseHostTestAbstract
 notify_complete (self, result=None)
 Notify main even loop that host test finished processing.
 
 reset_dut (self, value)
 
 reset (self)
 
 notify_conn_lost (self, text)
 Notify main even loop that there was a DUT-host test connection error.
 
 log (self, text)
 Send log message to main event loop.
 
 send_kv (self, key, value)
 Send Key-Value data to DUT.
 
 setup_communication (self, event_queue, dut_event_queue, config={})
 Setup queues used for IPC.
 
 get_config_item (self, name)
 

Additional Inherited Members

- Static Public Attributes inherited from mbed_host_tests.host_tests.base_host_test.BaseHostTestAbstract
str name = ''
 
 script_location = None
 

Detailed Description

Definition at line 256 of file base_host_test.py.

Constructor & Destructor Documentation

◆ __init__()

mbed_host_tests.host_tests.base_host_test.BaseHostTest.__init__ (   self)

Member Function Documentation

◆ base_host_test_inited()

mbed_host_tests.host_tests.base_host_test.BaseHostTest.base_host_test_inited (   self)
 This function will check if BaseHostTest ctor was called
    Call to BaseHostTest is required in order to force required
    interfaces implementation.
    @return Returns True if ctor was called (ok behaviour)

Definition at line 260 of file base_host_test.py.


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