Commit Graph

44 Commits (3d5ec6626f5a46662750bb18aa6c46cef0bcbc49)

Author SHA1 Message Date
Antti Kauppila adc4ce4385 Old Cellular UNITTESTS removed 2018-09-17 12:07:43 +03:00
Cruz Monrreal 06106297a4
Merge pull request #6293 from Taiki-San/patch-1
Reduce .text footprint of the network stack
2018-09-05 10:16:04 -05:00
Martin Kojtal e7b3c0d727
Merge pull request #7894 from jarvte/fix_cellular_unittests
Cellular: CellularDevice unittests fix initialization
2018-09-02 20:18:25 +02:00
Taiki 758f6d2e83 Switch the IPv4 parser to the one recently introduced in libservice. Return a bool value on wether parsing of the IPv4 address string was successful 2018-08-28 14:00:54 +02:00
Teppo Järvelin 5e6988899c Cellular: review fix removed magic numbers from unit tests. 2018-08-28 07:36:49 +03:00
Teppo Järvelin ccb75d2771 Cellular: fixed CellularDevice unittests by doing proper initializations between tests. 2018-08-27 13:00:20 +03:00
Ari Parkkila 1eb1fabad0 Cellular: Allow cellular modules to override network registration mode 2018-08-24 04:27:49 -07:00
Martin Kojtal 85ef7a008f cellular: fix tests that astyle breaks
Ignore TEST_GROUP by AStyle. As this uses macro, is not visible to formatter.
By default, it assumes it is a function and treats methods as blocks inside a
function (inlined {}). We ignore it.

We might just not format UNITTESTS in the future if we face similar issues
in the future.
2018-07-31 13:15:57 +01:00
Martin Kojtal cde18aa0bc cellular: astyle fix 2018-07-27 13:33:20 +01:00
Mirela Chirica ee41015304 Cellular: Fix socket_send unit test 2018-07-11 13:45:00 +03:00
Ari Parkkila 4d431cd1ae Cellular: Removed max_packet_size 2018-07-11 13:11:47 +03:00
Mirela Chirica 7de9770f0c Cellular: More unit tests for ATHandler's read routines 2018-07-10 15:09:09 +03:00
Cruz Monrreal 0132e7c1a7
Merge pull request #7273 from jarvte/update_cellular_unit_tests
Cellular: added unit tests for new API functions (sim, power, base, device).
2018-06-26 20:41:52 -05:00
Teppo Järvelin 9f68977fee Cellular: Rebase and fix tests as they got broken in rebase. 2018-06-26 09:14:15 +03:00
Teppo Järvelin 4bd4042101 Cellular: updated unit tests. 2018-06-26 09:08:26 +03:00
Teppo Järvelin f64c84b1b7 Cellular: review fixes for cellularinformation tests. 2018-06-26 09:05:46 +03:00
Teppo Järvelin f84862191c Cellular: added more CellularInformation unit tests. 2018-06-26 09:05:46 +03:00
Teppo Järvelin 1fb4d2dfc9 Cellular: fixed unit tests after rebasing with master. 2018-06-20 09:08:51 +03:00
Teppo Järvelin 861867e3cc Cellular: Added network unit tests. 2018-06-20 08:28:00 +03:00
Teppo Järvelin f821b02468 Cellular: fixed unit tests after rebase with latest changes. 2018-06-15 09:51:16 +03:00
Teppo Järvelin 7e1b0480b0 Cellular: Added power and sim greentea and unit tests. 2018-06-15 09:03:08 +03:00
Teppo Järvelin 9a3c3b531f Cellular: fixed unit tests to compile after rebasing to latest. 2018-06-04 13:27:50 +03:00
Teppo Järvelin 3311a6e456 Cellular: added more unit tests for CellularDevice. 2018-06-04 10:25:54 +03:00
Mirela Chirica 853c4c6dd1 Cellular: Added ENOTTY define in mbed_retarget stub 2018-05-23 12:31:17 +03:00
Mirela Chirica 6e7d0a8847 Cellular: Added missing copyrights 2018-05-23 12:11:02 +03:00
Mirela Chirica b59ef26930 Cellular: Unit tests fixes 2018-05-23 12:11:02 +03:00
Teppo Järvelin 5ebdb439af Cellular: fixed cellular unit tests and one bug which was found while fixing. 2018-04-19 13:35:53 +03:00
Teppo Järvelin 6533c98983 Cellular: fixed athandler unit tests. 2018-04-12 16:20:40 +03:00
Teppo Järvelin f7f21dc377 Cellular: review fixes and fixed unit tests. 2018-04-11 09:38:13 +03:00
Teppo Järvelin cacdbd1550 Cellular: Fixed sms unit tests. 2018-03-13 13:52:05 +02:00
Teppo Järvelin 66fcc758c5 Fixed Cellular unit tests by adding one missing stub after changes in mbed-os. 2018-03-07 12:45:49 +02:00
Antti Kauppila 7741096538 Cellular tests: nsapi_socket_t errors fixed in unittests 2018-03-05 16:00:13 +02:00
Teppo Järvelin dc87629641 Fixed unit test after removing mux. 2018-03-02 14:38:08 +02:00
Teppo Järvelin 7c9f5f3781 Removed mux. 2018-03-02 14:38:08 +02:00
Teppo Järvelin 81738acfb4 Fixed unit tests. 2018-03-02 14:38:08 +02:00
Teppo Järvelin c9c3f85311 Changed state machine class name and implementation. 2018-03-02 14:38:07 +02:00
Antti Kauppila 020e15828d Unittests fixed + readme updated
- Unittests were broken and are now fixed
- README.md is updated to have small instructiopn how to run unittests
2018-03-02 14:38:07 +02:00
Antti Kauppila 427674d6ca IOTCELL-553 fixed
Unittests reports an error as there is no coverage file created for cellular_mux.
This is now fixed by running an init function.
2018-03-02 14:38:07 +02:00
Ari Parkkila f2613a6154 Cellular logging to use mbed_trace 2018-03-02 14:38:06 +02:00
Ari Parkkila bc67100dcf Added const in AT_CellularNetwork::set_registration 2018-03-02 14:38:06 +02:00
Teppo Järvelin ea6d59ff19 Updated license texts. 2018-03-02 14:38:05 +02:00
Antti Kauppila bfbd3e42af more unittests added 2018-03-02 14:38:05 +02:00
Antti Kauppila fbfbdc9718 renamed mbed_mux to cellular_mux 2018-03-02 14:38:05 +02:00
Antti Kauppila 217271b156 Unittests added 2018-03-02 14:38:03 +02:00