Commit Graph

21 Commits (1e625e2a54ba6f62f9ab50e3037354e32b51ce40)

Author SHA1 Message Date
Hasnain Virk fa1a6d27b8 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-19 11:46:55 +01:00
Hasnain Virk f6d50cc55d Unit Test Fixes for LoRaWAN
Missing methods are added.
Logic was broken at various places which needed to be fixed.
2018-10-19 11:46:55 +01:00
Kimmo Vaisanen 5e105ddb7b Cellular: Fix ATHandler_stub compiler warnings 2018-10-19 11:46:55 +01:00
Antti Kauppila dbe2b15daa equeue_stub updated and code fixed accordingly 2018-10-08 15:29:18 +01:00
Antti Kauppila 18a1e66ebc LoRaMac unittested 2018-10-08 15:29:18 +01:00
Antti Kauppila 8bed43e4f8 LoRaWANStack unit tested 2018-10-08 15:29:18 +01:00
Antti Kauppila 41d0648fdd LoRaMacCrypto unittested 2018-10-08 15:29:18 +01:00
Antti Kauppila 1f24d725a7 LoRaPHY unittested, small fixed done during tests 2018-10-08 15:29:18 +01:00
Antti Kauppila 07d2ce69ca LoRa regions unittested, stubs licences revisited 2018-10-08 15:18:50 +01:00
Antti Kauppila b1c62a9ecd Unit test for LorawanInterface 2018-10-08 15:18:50 +01:00
Antti Kauppila ed8ebf335a LorawanInterface unit test added 2018-10-08 15:18:50 +01:00
Antti Kauppila 474b652820 More lorawan unit tests added 2018-10-08 15:18:50 +01:00
Antti Kauppila b70d23a175 Lorawan unittests 2018-10-08 15:18:50 +01:00
Michal Paszta 6c012fc476 unittests: Add tests for NetworkStack class.
Improved the stubs for event queue and nsapi_dns, to allow checking if callback are handled correctly. This involves some memory allocation and deallocation.
The NetworkStackWrapper is not covered as it seems to be deprecated code.
2018-10-08 15:18:50 +01:00
Michal Paszta 2bbf033fe2 unittests: improved coverage for UDPSocket and TCPSocket
Add functional and line coverage for UDPSocket and TCPSocket. The EventFlagsstub and NetworkStackstub classes are allowed to store multiple return values to allow running internal loops multiple times.
2018-10-08 15:18:50 +01:00
Antti Kauppila fc97b2aca0 Rebased & fixed 2018-10-08 15:18:50 +01:00
Antti Kauppila eff5f392b4 Small improvements for test cases 2018-10-08 15:18:50 +01:00
Antti Kauppila 3945ea6bf5 Old Cellular UNITTESTS removed 2018-10-08 15:18:50 +01:00
Antti Kauppila 287c7508d3 cellular unittests ported to googletest framework 2018-10-08 15:18:50 +01:00
Lari-Matias Orjala 6835a5a06b fix mutex stub for unit tests 2018-09-11 15:04:48 +01:00
Lari-Matias Orjala 4dde13db6d Add unit testing framework 2018-08-27 14:32:35 +03:00