Commit Graph

21 Commits

Author SHA1 Message Date
Twirre
89c9f2ebea Merge branch 'test/video-sender' into 'dev'
test: added full video sender coverage tests

See merge request ics/sp/2025/n25b/pepperplus-ri!18
2025-11-24 20:41:08 +00:00
JobvAlewijk
96f328d56c test: added full video sender coverage tests 2025-11-24 20:41:08 +00:00
JobvAlewijk
e2a71ad6c2 test: added main tests 2025-11-24 20:37:59 +00:00
JobvAlewijk
336acac440 test: added tests for full state coverage 2025-11-24 20:24:19 +00:00
Twirre
f4fbc69c7f Merge branch 'test/reciever-base' into 'dev'
test: added not overridden reciever base test

See merge request ics/sp/2025/n25b/pepperplus-ri!15
2025-11-24 20:06:58 +00:00
JobvAlewijk
fbe8f59c38 test: added not overridden reciever base test 2025-11-24 20:06:58 +00:00
JobvAlewijk
2350f6eec7 test: added init failure test in audio sender 2025-11-24 20:05:10 +00:00
JobvAlewijk
7628e47478 test: added qi_utils test 2025-11-24 20:02:28 +00:00
JobvAlewijk
6ea870623b test: added socket base tests 2025-11-24 13:32:31 +00:00
Twirre Meulenbelt
a53871360e docs: remove duplicate and double space
ref: N25B-298
2025-11-22 19:32:50 +01:00
Pim Hutting
c53307530b chore: applied all feedback
close: N25B-298
2025-11-22 11:45:32 +01:00
Pim Hutting
051f904576 chore: add documentation RI
Code functionality left unchanged, only added docs where missing

close: N25B-298
2025-11-21 16:35:40 +01:00
Twirre Meulenbelt
03519e2a16 test: fix microphone interactive test
This was created with the assumption that all devices were choosable, but now only ones with input channels are.

ref: N25B-119
2025-11-14 13:08:31 +01:00
Twirre Meulenbelt
fab5127cac feat: add application parameter to choose a custom microphone
ref: N25B-119
2025-11-02 16:12:56 +01:00
Twirre Meulenbelt
230ab5d5cc test: add case for microphone failure
When the microphone fails, it will raise an IOError during the `read`. This is simulated with a new test.

ref: N25B-119
2025-10-22 15:38:30 +02:00
Twirre Meulenbelt
0499cd8a24 feat: send audio
AudioSender runs in a separate thread to send audio from the microphone.

ref: N25B-119
2025-10-22 15:10:27 +02:00
Twirre Meulenbelt
f8db719bfa test: unit test mock PyAudio, integration test use real
Make unit tests use a mock version of PyAudio, while making integration tests using the real version. If no real microphone is available, these integration tests are skipped.

ref: N25B-119
2025-10-22 13:27:35 +02:00
Twirre Meulenbelt
0f60f67ab9 feat: add microphone selection utils
Providing two functions, one to choose the default microphone, the other to choose a microphone interactively. With tests.

ref: N25B-119
2025-10-22 11:44:51 +02:00
Twirre Meulenbelt
5631a55697 test: convert to pytest
Instead of built-in `unittest`, now use `pytest`. Find versions that work, convert tests.

ref: N25B-168
2025-10-21 13:55:06 +02:00
Twirre Meulenbelt
4c3aa3a911 feat: adapt actuation receiver to state's qi_session
Makes actuation tests pass. In main, the timing of the socket no longer contains the time to receive and send data, but only the processing time of the message handler.

ref: N25B-168
2025-10-16 21:46:46 +02:00
Twirre Meulenbelt
56c804b7eb test: add unit tests for main and actuation receivers
Exhaustive test cases for both classes, with 100% coverage. Adds `mock` dependency. Tests for actuation receiver do not yet pass.

ref: N25B-168
2025-10-16 21:43:24 +02:00