Rtos API example
DetectTargetsTest Class Reference
Public Member Functions | |
def | setUp |
def | tearDown |
def | test_interface_version_valid |
def | test_version_valid |
def | test_interface_version_missing_interface_version |
def | test_version_none |
def | test_interface_version_missing_mount_point |
Detailed Description
Test cases for Detect Target functionality
Definition at line 74 of file detect_targets_test.py.
Member Function Documentation
def setUp | ( | self ) |
Called before each test case :return:
Definition at line 79 of file detect_targets_test.py.
def tearDown | ( | self ) |
Nothing to tear down. Called after each test case :return:
Definition at line 88 of file detect_targets_test.py.
def test_interface_version_missing_interface_version | ( | self, | |
mbed_lstools_mock | |||
) |
Test that checks function returns correctly when DETAILS.txt is present but an interface version is not listed. :param mbed_lstools_mock: Mocks Mbed LS tools with MbedLsToolsMock :return
Definition at line 122 of file detect_targets_test.py.
def test_interface_version_missing_mount_point | ( | self, | |
mbed_lstools_mock | |||
) |
Test that checks function returns correctly when no mount point is supplied. :param mbed_lstools_mock: Mocks Mbed LS tools with MbedLsToolsMock :return
Definition at line 148 of file detect_targets_test.py.
def test_interface_version_valid | ( | self, | |
mbed_lstools_mock | |||
) |
Test that checks function returns correctly when given a valid Interface Version :param mbed_lstools_mock: Mocks Mbed LS tools with MbedLsToolsMock :return
Definition at line 98 of file detect_targets_test.py.
def test_version_none | ( | self, | |
mbed_lstools_mock | |||
) |
Test that checks function returns correctly when a valid mount point is supplied but DETAILS.txt is not present. :param mbed_lstools_mock: Mocks Mbed LS tools with MbedLsToolsMock :return
Definition at line 135 of file detect_targets_test.py.
def test_version_valid | ( | self, | |
mbed_lstools_mock | |||
) |
Test that checks function returns correctly when given a valid Version :param mbed_lstools_mock: Mocks Mbed LS tools with MbedLsToolsMock :return
Definition at line 110 of file detect_targets_test.py.
Generated on Sun Jul 17 2022 08:25:43 by 1.7.2