Public Member Functions | |
def | find_spi_ronexes |
def | generalIOState_callback |
def | init_service_servers |
def | read_adc |
def | run_test_case |
def | set_DIO_states |
def | setUp |
def | tearDown |
def | test_all_cases |
def | test_if_controllers_are_loaded |
TEST START. | |
Public Attributes | |
analogue_in | |
controllers_list | |
dyn_rcf_client | |
ronex_devs | |
ronex_ids | |
spi_srv | |
state_lock |
A class used to test the Shadow Robot SPI HW.
Definition at line 37 of file sr_spi_test.py.
def sr_spi_test.TestSPIWithHardware.find_spi_ronexes | ( | self | ) |
Definition at line 55 of file sr_spi_test.py.
def sr_spi_test.TestSPIWithHardware.generalIOState_callback | ( | self, | |
data | |||
) |
Definition at line 74 of file sr_spi_test.py.
Definition at line 78 of file sr_spi_test.py.
def sr_spi_test.TestSPIWithHardware.read_adc | ( | self, | |
adc_number, | |||
channel_number | |||
) |
Definition at line 171 of file sr_spi_test.py.
def sr_spi_test.TestSPIWithHardware.run_test_case | ( | self, | |
digital_states, | |||
expected_as, | |||
expected_analogue | |||
) |
Definition at line 125 of file sr_spi_test.py.
def sr_spi_test.TestSPIWithHardware.set_DIO_states | ( | self, | |
digital_states | |||
) |
Definition at line 153 of file sr_spi_test.py.
def sr_spi_test.TestSPIWithHardware.setUp | ( | self | ) |
Definition at line 42 of file sr_spi_test.py.
def sr_spi_test.TestSPIWithHardware.tearDown | ( | self | ) |
Definition at line 52 of file sr_spi_test.py.
def sr_spi_test.TestSPIWithHardware.test_all_cases | ( | self | ) |
Definition at line 101 of file sr_spi_test.py.
TEST START.
Definition at line 92 of file sr_spi_test.py.
Definition at line 74 of file sr_spi_test.py.
Definition at line 42 of file sr_spi_test.py.
Definition at line 78 of file sr_spi_test.py.
Definition at line 55 of file sr_spi_test.py.
Definition at line 55 of file sr_spi_test.py.
Definition at line 78 of file sr_spi_test.py.
Definition at line 42 of file sr_spi_test.py.