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
138fd740b7
Unit test fix
...
A missing macro definition is added to the unit-test cmake file for
LoRaPHY class.
2018-12-10 08:53:30 +02:00
Martin Kojtal
79d4fd8173
tests: fix coding style
2018-11-08 08:54:29 +00: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
Hasnain Virk
9c3f73b8ed
Unit test fix for cancel_send()
...
PR 8299 went in but correct unit tests were not there.
This commit is adding proper unittests for 8299.
2018-10-16 19:14:51 +03:00
Hasnain Virk
3bfef7f43f
Unit Test Fixes for LoRaWAN
...
Missing methods are added.
Logic was broken at various places which needed to be fixed.
2018-10-16 12:23:21 +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
445384852e
LoraPhy and regions unit test skeletons added
2018-09-27 10:49:07 +03:00