mbed-os for GR-LYCHEE

Dependents:   mbed-os-example-blinky-gr-lychee GR-Boads_Camera_sample GR-Boards_Audio_Recoder GR-Boads_Camera_DisplayApp ... more

Embed: (wiki syntax)

« Back to documentation index

TestApiTests Class Reference

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.