Commit Graph

19 Commits (51c1bd35a015590234924947bfac5facf211c822)

Author SHA1 Message Date
Martin Kojtal db8a018fec
Merge pull request #9959 from michalpasztamobica/refactor_socket_stats_usage
Refactor socket stats to reduce boiler plate
2019-03-21 10:46:15 +01:00
Martin Kojtal 91b81c65fb
Merge pull request #9905 from michalpasztamobica/test_recv_return_less_or_equal
Tests: check if recv returned too much data
2019-03-15 14:57:01 +01:00
Michal Paszta b7ed4b5d9e Refactor socket stats to reduce bioler plate
Add a proper test case setup and teardown which does the socket stats
checks in tcp, udp and tls.
2019-03-14 11:09:35 +02:00
kegilbert 194fa129fb Update recently added previous macro name uses in tests 2019-03-01 13:53:47 -06:00
Michal Paszta c81f71b2de Tests: check if recv returned too much data 2019-03-01 18:01:38 +02:00
Martin Kojtal b08ddaad8b
Merge pull request #9794 from michalpasztamobica/greentea_tcpsocket_sigio
Refactor tcpsocket tests to use sigio and not to wait
2019-02-26 10:30:56 +01:00
Cruz Monrreal 044d0c9cb1
Merge pull request #9778 from michalpasztamobica/add_missing_wifi_config_params
Add missing wifi parameters to test configs
2019-02-25 17:30:36 -06:00
Michal Paszta 999273f7e5 Refactor tcpsocket tests to use sigio and not to wait 2019-02-25 15:33:09 +02:00
Michal Paszta 19c6732105 Add missing wifi parameters to test configs 2019-02-22 10:13:14 +02:00
Cruz Monrreal 4cbcc36c3c
Merge pull request #9730 from michalpasztamobica/tlssocketsimultaneous_temporary_removal
Greentea: Remove TLSSocket_simultaneous test
2019-02-19 14:56:02 -06:00
Michal Paszta ca57bdd481 Greentea tests: user-configurable timeouts
Now it is enough to add:
    "macros": [
        "MBED_GREENTEA_TEST_XXXSOCKET_TIMEOUT_S=20"
    ],
to mbed_app.json, where XXX is on of {DNS, TLS, UDP, TCP}.
Also network-* tests are now configurable: network-interface, network-wifi, network-emac with a similar macro.
2019-02-15 15:08:15 +02:00
Michal Paszta a089661f05 Greentea: Remove TLSSocket_simultaneous test
The reason is that some platforms lack memory to run it. To be brought
back once TLS library memory consumption is optimized.
2019-02-15 11:59:28 +02:00
Cruz Monrreal 2e9d6d2938
Merge pull request #9645 from AriParkkila/cellular-netsocket
Change TESTS/netsocket/ for cellular testing
2019-02-13 17:28:35 -06:00
Ari Parkkila 56badd8616 Change TESTS/netsocket/ for cellular testing 2019-02-13 01:30:42 -08:00
Michal Paszta b5c00aa6b7 Greentea tests: set correct port to test against google.com 2019-02-12 15:40:11 +02:00
Veijo Pesonen ba75924c28 tests-netsocket-tls: TLSSOCKET_ECHOTEST deletes socket on failure case 2019-02-07 12:01:09 +02:00
Michal Paszta c3f3dcbc0e Use an ip4- and ip6-compliant site to test TLS certificate error reporting 2019-01-31 15:00:13 +02:00
Michal Paszta af65522652 Publish TLSSocket test documentation
The whole README.md had to be updated to match the internal Confluence documentation, which can now be locked. In the process I also updated any spotted mistakes in tests documentation, removed the obsolete TCPServer tests documentation and added a test which was missing from UDPSocket's main.
2019-01-23 16:54:19 +02:00
Michal Paszta d568e2160b Add TLSSocket greentea tests.
TLSSocket tests based on existing TCPSocket greentea tests and TLSSocket icetea tests.
2019-01-22 12:46:48 +01:00