mbed-os/UNITTESTS/target_h/platform
Seppo Takalo c54d76eddf Allow MBED_ASSERT to throw errors in unittests, so we can verify it.
GoogleTest allows you to check whether certain function throws errors.
For example:
ASSERT_ANY_THROW(mbed::HeapBlockDevice one(3050, 100));
or
ASSERT_NO_THROW(bd.init());

As MBED_ERROR is now only function that can throw errors, there is
no need to check the type of thrown object.
2019-11-22 13:10:46 +02:00
..
cxxsupport Add mstd_xxx headers to unit tests 2019-07-18 20:02:07 +03:00
CThunk.h Add enough stubs to allow drivers/* to compile. 2019-11-04 16:12:36 +02:00
mbed_assert.h Allow MBED_ASSERT to throw errors in unittests, so we can verify it. 2019-11-22 13:10:46 +02:00
mbed_power_mgmt.h Add enough stubs to allow drivers/* to compile. 2019-11-04 16:12:36 +02:00
mbed_retarget.h replace missing types 2018-09-21 13:00:47 +03:00
mbed_wait_api.h fix athandler unit tests and declaration conflict 2018-09-19 15:42:33 +03:00
platform.h Add unit testing framework 2018-08-27 14:32:35 +03:00