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
Hasnain Virk
a14acfad14
Updating unit tests
...
Updating unit test in response to the change in the link ADR related
APIs.
2019-02-14 17:15:47 +02:00
Martin Kojtal
6efa4f293c
unittest: fix style for empty functions
2018-10-25 09:58:19 +01:00
Martin Kojtal
3a5ef5ee24
unittests: fix astyle
2018-10-25 09:58:18 +01:00
Antti Kauppila
f0864be1c5
Fixed lorawan unittests valgrind issues
2018-10-17 15:25:53 +03:00
Antti Kauppila
a54c271814
cmake Paths corrected
2018-09-27 11:30:52 +03:00
Antti Kauppila
f6ecb319d0
LoRaMac unittested
2018-09-27 11:30:52 +03:00
Antti Kauppila
f3d402f70e
LoRaPHY unittested, small fixed done during tests
2018-09-27 10:49:07 +03:00
Antti Kauppila
0f8cfd8631
LoRa regions unittested, stubs licences revisited
2018-09-27 10:49:07 +03:00
Antti Kauppila
445384852e
LoraPhy and regions unit test skeletons added
2018-09-27 10:49:07 +03:00