Commit Graph

279 Commits (0758d23f003126ee1194c4b430c7fd78df13fd8d)

Author SHA1 Message Date
Michal Paszta e609e2fc5e unittests: Check NULL pointer scenario in TCPSocket::recvfrom 2018-09-21 14:23:05 +03:00
Michal Paszta 5a74481a2a 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-09-21 14:23:05 +03:00
Lari-Matias Orjala 60bb9b7678 replace missing types 2018-09-21 13:00:47 +03:00
Lari-Matias Orjala e1f22e4982 update UNITTESTS/README.md 2018-09-21 11:55:08 +03:00
Martin Kojtal 082ba151ac
Merge pull request #8112 from studavekar/update_doc_unittest
specify mbed-cli version requirement
2018-09-21 09:48:26 +02:00
Martin Kojtal 83fc2e2d20
Merge pull request #8176 from AnttiKauppila/ut_fix
CellularDevice_stub added
2018-09-20 15:14:35 +02:00
Lari-Matias Orjala 8ff0ec7814 fix athandler unit tests and declaration conflict 2018-09-19 15:42:33 +03:00
Lari-Matias Orjala 8f340b1953 remove test suite names from cellular tests 2018-09-19 11:19:27 +03:00
Lari-Matias Orjala e0e759e0a4 update test file generator 2018-09-19 11:10:40 +03:00
Lari-Matias Orjala 3e7ee6c4d1 add auto-naming of unit test suites 2018-09-19 11:10:40 +03:00
Antti Kauppila 4f97eaee67 CellularDevice_stub added 2018-09-19 10:30:43 +03:00
Antti Kauppila 2b7a087849 Rebased & fixed 2018-09-17 12:07:43 +03:00
Antti Kauppila a6b4938844 Small improvements for test cases 2018-09-17 12:07:43 +03:00
Antti Kauppila adc4ce4385 Old Cellular UNITTESTS removed 2018-09-17 12:07:43 +03:00
Antti Kauppila 9f9aa4a210 cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
Cruz Monrreal aee6325baa
Merge pull request #8123 from lorjala/fix_coverage_excludes
Unit tests: fix coverage exclude paths on Windows
2018-09-14 22:58:11 -05:00
Cruz Monrreal 48d212fe51
Merge pull request #8086 from SeppoTakalo/fix_socketaddr_unittests
Fix SocketAddress unittests
2018-09-14 10:34:37 -05:00
Lari-Matias Orjala cad2761687 fix coverage exclude paths on Windows 2018-09-13 20:30:08 +03:00
Cruz Monrreal 2e5e23f7c1
Merge pull request #8066 from bridadan/move_unittest_paths_to_hyphens
Move unittest paths to hyphens
2018-09-13 11:03:01 -05:00
studavekar 493a8cd4a7 specify mbed-cli version requirement 2018-09-13 03:06:42 -05:00
Jenny Plunkett 8af0afdd2e
Fix quotes around gcovr install command 2018-09-11 17:07:02 -05:00
Seppo Takalo 7c6f1c38a8 Fix SocketAddress unittests
Add ip4tos() and stoip4() into unittests.
NOTE: Probably should have been stubbed but this way we can also
test these helper functions.
2018-09-11 18:19:11 +03:00
Brian Daniels 0bda46df07 Moving all unit tests to use hyphenated test name 2018-09-10 13:42:51 -05:00
Brian Daniels ebd1c16c9e Updating readme to use hyphens for unittest paths 2018-09-10 12:12:38 -05:00
Martin Kojtal 970bc7369c
Merge pull request #7985 from theotherjimmy/update-unittest-subcommand
Unittesting: Update Mbed CLI subcommand in Readme
2018-09-06 15:11:43 +02:00
Lari-Matias Orjala 4b042271d6 fix mutex stub for unit tests 2018-09-05 13:41:35 +03:00
Jimmy Brisson 6dcd9e13b3 Update mbed-cli subcommand 2018-09-04 10:47:04 -05:00
Lari-Matias Orjala 4cf98dda6d Unittests: update documentation for Windows 2018-08-28 09:23:25 +03:00
Lari-Matias Orjala 4dde13db6d Add unit testing framework 2018-08-27 14:32:35 +03:00