Commit Graph

16 Commits (mbed-os-5.10)

Author SHA1 Message Date
Mirela Chirica fcfdb099ab Cellular: Fix for AT handler consume to tag
If sequence from buffer contains tag but symbol before tag is same as
first symbol of the tag, then the tag wasn't detected.

For example, "\r\n" tag was not found from "\r\r\nOK" sequence.
2018-11-02 19:49:52 -05:00
Kimmo Vaisanen bff5c3be86 Cellular: Fix AT_CellularStack unittest
Missing CellularSocket constructor caused uninitialized values to be used.

Also changed comparision macros to ASSERT_EQ as suggested by GoogleTest guide.
2018-10-19 11:46:55 +01:00
Antti Kauppila 1f24d725a7 LoRaPHY unittested, small fixed done during tests 2018-10-08 15:29:18 +01:00
Antti Kauppila b1c62a9ecd Unit test for LorawanInterface 2018-10-08 15:18:50 +01:00
Antti Kauppila 474b652820 More lorawan unit tests added 2018-10-08 15:18:50 +01:00
Mirela Chirica 82ba6314dc Cellular: Fix cellular util unit test 2018-10-08 15:18:50 +01:00
Mirela Chirica 523edf0561 Cellular: Fix cellular network unit test 2018-10-08 15:18:50 +01:00
Lari-Matias Orjala 814ff08789 fix athandler unit tests and declaration conflict 2018-10-08 15:18:50 +01:00
Lari-Matias Orjala e49523b11c remove test suite names from cellular tests 2018-10-08 15:18:50 +01:00
Lari-Matias Orjala b6b331f94d add auto-naming of unit test suites 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
Brian Daniels c2f6de6dbe Moving all unit tests to use hyphenated test name 2018-09-17 21:42:55 -05:00
Lari-Matias Orjala 4dde13db6d Add unit testing framework 2018-08-27 14:32:35 +03:00