mirror of https://github.com/ARMmbed/mbed-os.git
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. |
||
---|---|---|
.. | ||
cxxsupport | ||
CThunk.h | ||
mbed_assert.h | ||
mbed_power_mgmt.h | ||
mbed_retarget.h | ||
mbed_wait_api.h | ||
platform.h |