Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
TestApiTests Class Reference
Public Member Functions | |
| def | setUp |
| def | tearDown |
| def | test_find_tests_app_config |
| def | test_find_tests_no_app_config |
| def | test_build_tests_app_config |
| def | test_build_tests_no_app_config |
Detailed Description
Test cases for Test Api
Definition at line 26 of file test_api_test.py.
Member Function Documentation
| def setUp | ( | self ) |
Called before each test case :return:
Definition at line 31 of file test_api_test.py.
| def tearDown | ( | self ) |
Called after each test case :return:
Definition at line 41 of file test_api_test.py.
| def test_build_tests_app_config | ( | self, | |
| mock_build_project, | |||
| mock_scan_resources | |||
| ) |
Test build_tests for correct use of app_config :param mock_prepare_toolchain: mock of function prepare_toolchain :param mock_scan_resources: mock of function scan_resources :return:
Definition at line 92 of file test_api_test.py.
| def test_build_tests_no_app_config | ( | self, | |
| mock_build_project, | |||
| mock_scan_resources | |||
| ) |
Test build_tests correctly deals with no app_config :param mock_prepare_toolchain: mock of function prepare_toolchain :param mock_scan_resources: mock of function scan_resources :return:
Definition at line 118 of file test_api_test.py.
| def test_find_tests_app_config | ( | self, | |
| mock_prepare_toolchain, | |||
| mock_scan_resources | |||
| ) |
Test find_tests for correct use of app_config :param mock_prepare_toolchain: mock of function prepare_toolchain :param mock_scan_resources: mock of function scan_resources :return:
Definition at line 51 of file test_api_test.py.
| def test_find_tests_no_app_config | ( | self, | |
| mock_prepare_toolchain, | |||
| mock_scan_resources | |||
| ) |
Test find_tests correctly deals with no app_config :param mock_prepare_toolchain: mock of function prepare_toolchain :param mock_scan_resources: mock of function scan_resources :return:
Definition at line 72 of file test_api_test.py.
Generated on Tue Jul 12 2022 17:35:15 by
1.7.2