Rtos API example

Embed: (wiki syntax)

« Back to documentation index

test_api_test Namespace Reference

test_api_test Namespace Reference

Functions

def setUp
def test_find_tests_app_config

Detailed Description

mbed SDK
Copyright (c) 2016 ARM Limited

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Function Documentation

def test_api_test::setUp (   self )
Called before each test case

:return:

Definition at line 27 of file test_api_test.py.

def test_find_tests_app_config (   build_path,
  target,
  toolchain_name,
  app_config 
)
Test find_tests for correct use of app_config

:param base_dir: dummy value for the test base directory
:param target: the target to "test" for
:param toolchain_name: the toolchain to use for "testing"
:param app_config: Application configuration parameter to find tests

Definition at line 41 of file test_api_test.py.