mbed-os/frameworks/utest/TESTS/unit_tests
Anna Bridge d4415eeeac Remove all printfs from test cases which may directly or indirectly run
from an interrupt context. Where required add flags to functions and check
the values in the case teardowns. This allows validation that the case
callback was invoked without the need for an ASSERT or printf directly in
the callback.
In cases where a printf is still required in a test case but it is unclear
whether the code may or may not get called from interrupt context, a new
printf alternative, utest_printf() should be used instead. This just
checks whether the code is executing in interrupt context and only passes
its arguments to printf if not.
2016-06-07 15:48:13 +01:00
..
basic_test Remove all printfs from test cases which may directly or indirectly run 2016-06-07 15:48:13 +01:00
case_async_validate Remove all printfs from test cases which may directly or indirectly run 2016-06-07 15:48:13 +01:00
case_control_async Remove all printfs from test cases which may directly or indirectly run 2016-06-07 15:48:13 +01:00
case_control_repeat Remove all printfs from test cases which may directly or indirectly run 2016-06-07 15:48:13 +01:00
case_selection Remove all printfs from test cases which may directly or indirectly run 2016-06-07 15:48:13 +01:00
case_setup_failure Remove all printfs from test cases which may directly or indirectly run 2016-06-07 15:48:13 +01:00
case_teardown_failure Update all instances of status_t in the unit tests to fully namespace them 2016-05-27 11:59:25 +01:00
control_type Update all instances of status_t in the unit tests to fully namespace them 2016-05-27 11:59:25 +01:00
minimal_async_scheduler Remove all printfs from test cases which may directly or indirectly run 2016-06-07 15:48:13 +01:00
minimal_scheduler Remove all printfs from test cases which may directly or indirectly run 2016-06-07 15:48:13 +01:00
test_assertion_failure_test_setup Update all instances of status_t in the unit tests to fully namespace them 2016-05-27 11:59:25 +01:00
test_setup_case_selection_failure Update all instances of status_t in the unit tests to fully namespace them 2016-05-27 11:59:25 +01:00
test_setup_failure Update all instances of status_t in the unit tests to fully namespace them 2016-05-27 11:59:25 +01:00