Commit Graph

10 Commits (0f959dbe4749c20416236e4fe1dac5692cbe18ab)

Author SHA1 Message Date
Michal Paszta 10a1f46f9d ECHOTEST internal loop simplification and fix
The loop was wrongly incrementing the index of the array after assiging
the value. Thus the first array element was used twice and the last one
was never user. The issue is fixed and the loops are refactored and
simplified to avoid such confusion in the future.
2019-04-24 13:37:42 +01:00
Michal Paszta 42f676a9da TCP/TLS Socket tests will skip if TCP is not supported 2019-04-05 12:26:56 +01:00
Michal Paszta 825114ef5c Handle oversized packets in tcp, tls and udp socket tests 2019-04-05 12:26:29 +01:00
Michal Paszta 6bd4ea82a8 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-04-05 12:26:19 +01:00
Michal Paszta 2b80f967a9 Tests: check if recv returned too much data 2019-04-05 12:26:09 +01:00
kegilbert 194fa129fb Update recently added previous macro name uses in tests 2019-03-01 13:53:47 -06:00
Michal Paszta 999273f7e5 Refactor tcpsocket tests to use sigio and not to wait 2019-02-25 15:33:09 +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 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