Commit Graph

13 Commits

Author SHA1 Message Date
Piotr Tański
d5c3d41ca4 [EGD-5204] Secure USB communication
Secure all endpoints by returning 403(Forbidden) when USB is connected.
Request screen passcode to enable secured endpoints.
2021-02-24 19:49:07 +01:00
mkamonMdt
fac27c747a [EGD-4955] Add on-off test harness for simulator
This PR provides CI test for turning on and off PurePhone
simulator.
2021-02-02 10:01:51 +01:00
SP2FET
103af76459 [EGD-4836] Add firmware update test
Add test utility to update firmware via USB (service-desktop API)
Add timeout to harness port discovery

[EGD-5240] Add common timeout to python test harness
General purpose timeout based on signals library

[EGD-5239] Preserve 1Phone testing
In the long run test harness requires two phones,
but allow for one phone to still pass some test cases
2021-01-15 08:57:31 +01:00
Mateusz Grzywacz
7ed1380e20 [EGD-4837] Add 2 phones test cases (call & call-back)
A test asserts, that the first phone can call the second phone by
the number.
Another test asserts, that the seconds phone can call the first phone
back
2021-01-14 18:15:41 +01:00
Mateusz Grzywacz
3a793437ea [EGD-4835] Fix HIL Readme, code, so it works, rename, random GCC 10 fix
Polish README, so it works 1:1.
Rename method, so it blends better with its calls.
Delete old code, leave phone unlock.
Try not to see this random GCC 10 fix here.
2021-01-13 12:34:29 +01:00
Mateusz Grzywacz
859f17c9ff [EGD-4846] Change default HIL to autodetect Pure phone
No need to pass --port argument by default.
--port still needs to be passed if you want to use specific
phone or Linux simulator
2021-01-13 12:34:29 +01:00
Mateusz Grzywacz
3a70d03053 [EGD-4846] Add auto detect USB Pure Phones for HIL
Detect connected Pure phone automatically inside test harness (Python
library) by its Manufacturer and Product strings.
2021-01-13 12:34:29 +01:00
Marek Niepieklo
b92c40237d [EGD-5004] Add USB-CDC echo mechanism
Added echo mechanism to USB-CDC, update usb_stack submodule
and added a test case to test harness
2020-12-22 23:05:04 +01:00
Bartosz Cichocki
c42f977fd8 [EGD-4752] tests: fixed contact offset bug, sliced contact test into batches (#1154)
Fix contact offset bug
Slice contact test into batches

Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-12-08 11:44:52 +01:00
Bartosz Cichocki
cdfadba379 [EGD-4510] testing: added pytest tests, updated documentation (#1096)
Add pytest test and functional tests, update documentation

[EGD-4510] rewritten service-desktop tests into pytest manner

[EGD-4510] updated docs, rewritten FT to pytest manner

Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-11-27 16:03:02 +01:00
Bartosz Cichocki
ed9e55f5f6 [EGD-4420] added timeout for opening serial port (#1077)
[EGD-4420] added pts to file writing and checking on the test side

Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-11-25 12:38:08 +01:00
Bartosz Cichocki
50f28e8f19 [EGD-4270] updated test API, added sending message case in test harness (#1042)
[EGD-4270] build fix for GCC 10

Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-11-19 13:02:06 +01:00
Bartosz Cichocki
aedd6a7a36 [EGD-4319] Added test harness API (#993)
[EGD-4319] added phone lock checking and opening application from harness

Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-11-10 13:21:41 +01:00