Martin Kojtal
0e7d8927f1
Merge pull request #11615 from kivaisan/remove_deprecated_cellular_tests
...
Cellular: Remove old deprecated tests
2019-10-14 09:28:01 +02:00
Anna Bridge
51680cb55e
Merge pull request #11601 from michalpasztamobica/tests_dns_timeouts_esp8266
...
DNS tests modification for ESP8266-specific scenario
2019-10-07 16:49:11 +01:00
Anna Bridge
eeb033f814
Merge pull request #11357 from kivaisan/offloaded_tlssocket_bg96
...
Offloaded TLSSocket and BG96 support for it
2019-10-03 11:54:32 +01:00
Kimmo Vaisanen
b6ebfeea2c
Cellular: Remove old deprecated tests
...
Cellular tests have been replaced with generic mbed-os netsocket and network interface tests.
2019-10-03 10:24:12 +03:00
Michal Paszta
3297445ac2
Increase the timeout for DNS tests as their number increased
2019-10-01 15:14:44 +03:00
Michal Paszta
d6b77da270
Increase timeout in DNS_TIMEOUTS test for ESP8266
...
The test floods the device with UDP requests (it skips the 100 ms delay to simulate instant timeout). ESP8266 starts responding with "busy p..." message. It needs more time to process the data and recover for subsequent tests.
2019-10-01 15:14:25 +03:00
Antti Kauppila
f0eba17ca2
Added missing include
2019-09-30 14:50:26 +03:00
Antti Kauppila
f26074c7be
Added missing include + cleaned up some tests
2019-09-27 11:13:20 +03:00
Kimmo Vaisanen
986204f269
Fix TLSSocket tests
...
- set certs and keys after socket open() as required by offloaded TLSSocket
- Added more checks for invalid handshake test and removed google.com test as
as some modems (e.g. BG96) might contains root CA for google.com
2019-09-25 09:25:33 +03:00
Antti Kauppila
6adc2440a3
DNS manual cleanup mechanism added
2019-09-20 10:20:48 +03:00
Martin Kojtal
e134b22dab
Merge pull request #11473 from michalpasztamobica/gcc_warnings_fixes
...
Fix compilation warnings from GCC in netsocket/network tests
2019-09-19 10:36:16 +02:00
Martin Kojtal
926ffb0ede
Merge pull request #11440 from mtomczykmobica/ONME-4239
...
Add missing documentation about tls testing
2019-09-18 11:23:38 +02:00
Michal Paszta
9ce69b6f7d
Fix compilation warnings from GCC
2019-09-16 12:11:26 +03:00
Marcin Tomczyk
df8e3c87fe
Add missing documentation about tls testing - review comments fixes
2019-09-12 07:51:30 +02:00
Amanda Butler
4c3cca028e
Edit README.md
...
Edit document.
2019-09-10 15:20:55 -05:00
Marcin Tomczyk
da8dbca561
Add missing documentation about tls testing
2019-09-09 11:54:19 +02:00
Tymoteusz Bloch
126ac1e559
DNS cache synchronous fix - Non zero TTL test server change
2019-09-05 17:21:33 +02:00
Michal Paszta
05e94afca3
Replace TEST_ASSERT_INT_WITHIN usage in netsocket tests
...
IPCore's netsocket tests are expected to run all tests even if some of them fail. The TEST_ASSERT_INT_WITHIN macro sets a global variable Unity.CurrentTestFailed which prevents further checks and gives incorrect failure count. Other assertion macros in Unity do not do that.
2019-08-22 14:32:59 +03:00
Teppo Järvelin
65bf17eff5
Fix netsocket tests for IAR
...
Test case printed IP address. If ip address is null, IAR compiled binary fails.
Added check for printing null. If IP address is null, then it prints string 'null'.
2019-08-15 15:26:36 +03:00
Teppo Järvelin
ce36104ab3
Fix netsocket DNS test for IAR
...
Test case printed IP address. If ip address is null, IAR compiled binary fails.
Added check for printing null. If IP address is null, then it prints string 'null'.
2019-08-12 09:39:41 +03:00
Seppo Takalo
818c1d6f0f
Merge pull request #11130 from Tharazi97/NotSupportedTest
...
Updated testcases
2019-08-02 13:27:54 +03:00
int_szyk
ae6f8be146
Newline at the end of files
2019-08-01 08:44:58 +02:00
int_szyk
8b68a1ea58
Updated testcases
2019-07-31 10:46:38 +02:00
Ari Parkkila
71c7ed2fb4
Cellular: Add BG96 AT driver with DNS support
2019-07-31 00:19:05 -07:00
Kevin Bracey
a522dcfa0a
Replace deprecated wait calls
2019-07-15 10:13:50 +03:00
Tymoteusz Bloch
c22350589d
UDPSOCKET_ECHOTEST_NONBLOCK performance improvement.
2019-06-10 11:20:12 +02:00
Martin Kojtal
dd77957d45
Merge pull request #10665 from tymoteuszblochmobica/json
...
Add hardcoded Echo server defaults for Greentea socket tests.
2019-06-09 18:05:03 +01:00
Kevin Bracey
2fbbd9d2ca
Introduce Semaphore::acquire methods
...
Deprecate wait() in favour of acquire(), try_acquire(),
try_acquire_for() and try_acquire_until().
Brings Semaphore more into line with CMSIS-RTOS 2 (which uses "acquire"),
itself (as it has "release"), and other classes having "try", "try for"
and "try until".
Also steps away from vague "wait" term - the primary operation here is
to acquire the semaphore, and this will of course sleep.
2019-05-28 17:02:06 +03:00
Tymoteusz Bloch
d42ed4e6a9
Added hardcoded Echo server defaults for Greentea socket tests.
2019-05-27 14:41:17 +02:00
Mirela Chirica
26facc7f9b
Cellular: WISE-1570 needs greater receiving timeout to pass UDPSOCKET_ECHOTEST_NONBLOCK test
...
Reason for needing greater timeout could be this test's performance.
UDPSOCKET_ECHOTEST_BURST_NONBLOCK is implementing the receiving
differently and is passing with 1 second timeout.
2019-05-08 10:43:08 +03:00
Michal Paszta
d1017ea274
UDPSOCKET_ECHOTEST fails if a packet of any given size was not sent at least once
2019-04-18 11:38:11 +03:00
Martin Kojtal
79dddf84f0
Merge pull request #10381 from michalpasztamobica/echotests_loop_fix
...
ECHOTEST internal loop simplification and fix
2019-04-16 08:45:25 +01:00
Michal Paszta
631540a421
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-15 11:54:03 +03:00
Tymoteusz Bloch
42b5680697
Multihoming fixed according to new LWIP implementation.
2019-04-11 20:54:48 -05:00
Michal Paszta
872edd4964
Relax TLSSOCKET_RECV_TIMEOUT sigio timeout
2019-04-08 12:56:41 +03:00
Michal Paszta
3505923d02
Test udpsocket_recv_timeout does not check packet reception ratio
2019-04-08 12:56:29 +03:00
Anna Bridge
0f6a8357e7
Merge pull request #10037 from michalpasztamobica/tcp_skip_if_unsupported
...
TCP/TLS Socket tests will skip if TCP is not supported
2019-03-29 13:30:37 +00:00
Michal Paszta
09183c94b9
TCP/TLS Socket tests will skip if TCP is not supported
2019-03-28 10:08:53 +02:00
Michal Paszta
266d4c43a2
Handle oversized packets in tcp, tls and udp socket tests
2019-03-27 11:01:16 +02:00
Cruz Monrreal
d26fe0fe55
Merge pull request #10184 from mirelachirica/wise_1570_udp_echotest_nonblocking
...
Cellular: Increase receiving timeout for UDP echo non-blocking test
2019-03-27 00:34:47 -05:00
Mirela Chirica
ec3c6f37f9
Cellular: WISE-1570 needs greater receiving timeout to pass UDPSOCKET_ECHOTEST_NONBLOCK test
...
Reason for needing greater timeout could be this test's performance.
UDPSOCKET_ECHOTEST_BURST_NONBLOCK is implementing the receiving
differently and is passing with 1 second timeout.
2019-03-26 09:10:02 +02:00
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
Cruz Monrreal
dbb33ef423
Merge pull request #9801 from vmedcy/fix-eventqueue-h
...
Correctly include EventQueue.h
2019-03-16 22:52:40 -05: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