Veijo Pesonen
8e12db1a2b
Fix WIFI-CONNECT-PARAMS-CHANNEL-FAIL Greentea test case
...
The test case is executed succesfully when usage of wrong channel is detected
2018-02-20 16:09:46 +02:00
Anna Bridge
2f4f82ec74
Merge pull request #5723 from SeppoTakalo/wifi-construtor-fix
...
Remove destruction of WiFi interface in test runs
2017-12-29 14:29:38 +00:00
Veijo Pesonen
5585ba60a5
Greentea test case WIFI-CONNECT-NOCREDENTIALS- accept also parameter error if AP is not found
2017-12-22 13:02:06 +02:00
Veijo Pesonen
c993057537
Security protocol made configurable via json
2017-12-22 12:54:22 +02:00
Veijo Pesonen
402ab81730
remove disconnect from test cases as it's going to be called implicitly from get_interface-function
2017-12-22 10:18:28 +02:00
Veijo Pesonen
ca95e3f88b
Greentea WIFI-CONNECT-SECURE must use NSAPI_SECURITY_WPA_WPA2
2017-12-21 08:29:09 +02:00
Veijo Pesonen
f71756cf98
Greentea WIFI-SCAN - make possible to disable check against assumed channel
...
It's possible that a device does not support setting the channel to be used.
In case channel is not set by the device lets disable the check.
2017-12-21 08:29:09 +02:00
Veijo Pesonen
8c421e20d6
Greentea Wifi testcase fixes
...
Call disconnect when connect has been tested. Also instead of waiting
for parameter error in case of missing SSID give missing SSID error
code.
2017-12-21 08:29:09 +02:00
Seppo Takalo
8bfe5779b3
Remove destruction of WiFi interface in test runs
...
Most of our IP stacks don't allow removal of interfaces so
interface destructor can not reliably clean up. Therefore we
cannot rely its behaviours in test case.
Instead run interface->disconnect() in case interface was already
created.
2017-12-20 16:58:11 +02:00
Martin Kojtal
63a923752b
Merge pull request #5568 from VeijoPesonen/greentea-wifi-fixes
...
Greentea Wifi testcase fixes
2017-12-20 14:52:44 +00:00
Veijo Pesonen
2d7a79f123
Greentea Wifi testcase fixes
...
Replace 'TEST_PASS' with 'return'
2017-12-01 16:35:55 +02:00
Wolfgang Betz
043ee4a6f5
Split test for secure & unsecure tests
2017-11-28 13:17:38 +01:00
Wolfgang Betz
3613803a7a
Correct WiFi driver name to `X_NUCLEO_IDW0XX1`
2017-11-28 13:17:37 +01:00
Veijo Pesonen
e488b2c04f
Greentea Wifi testcase fixes
...
ONME-3266 Greentea testcase WIFI-SCAN fails arbitrarily
ONME-3278 Greentea testcase WIFI-SET-CREDENTIAL doesn't try WEP with valid credentials
ONME-3279 Greentea testcase WIFI-GET-RSSI uses arbitrary RSSI value limits
ONME-3280 Greentea testcase WIFI-CONNECT-PARAMS-VALID-SECURE assumes WPA2
2017-11-23 13:57:05 +02:00
Seppo Takalo
429b0688bd
Add license texts
2017-10-04 17:45:25 +03:00
Seppo Takalo
80198f2dcd
Add Doxygen documentation for testcases.
2017-10-04 12:32:46 +03:00
Seppo Takalo
72e7c326c9
Fix builds for targets without wifi or without mbed_app.json
2017-10-04 12:01:49 +03:00
Seppo Takalo
5b40280cab
Update help text
2017-10-04 12:01:49 +03:00
Seppo Takalo
fde08a1ee8
Fix includes.
...
Cannot include header file witin a function (without severe side effects)
2017-10-04 12:01:49 +03:00
Seppo Takalo
0498e8d3c3
Update template mbed_app.json
2017-10-04 12:01:49 +03:00
Seppo Takalo
3ac788fa02
Set timeout to 4 minutes.
...
Wifi connections and scanning takes long time. 2 minutes might not be enough.
2017-10-04 12:01:49 +03:00
Seppo Takalo
3d87507c98
Implement functional Wifi tests
...
Implement 100% function coverage for WifiInterface as specified
in "Wifi test plan"
2017-10-04 12:01:49 +03:00
Bartek Szatkowski
3c06cdae7e
WiFi tests: Make tests CI friendly
2016-11-10 17:03:26 +00:00
Bartek Szatkowski
e116a66270
WiFi test Add support for mbed_app.json
2016-11-10 10:15:44 +00:00
Bartek Szatkowski
e8b55cac46
WiFi tests: Only support Odin board
2016-11-10 10:04:46 +00:00
Bartek Szatkowski
34cc61f871
WiFi tests: Increase the timeout for ESP module
2016-11-10 10:04:46 +00:00
Bartek Szatkowski
beef1d8b00
Add new WiFi tests
...
The tests try to:
* scan for available networks and check whether specified networks
are present in the results.
* connect to and disconnect from the specified network.
* repeats the scan tests while connected to a network.
* connect to a network and perform simple HTTP query.
2016-11-10 10:04:46 +00:00