-
dd81c4b8
by Giovanni Mascellani at 2025-09-15T18:00:38+02:00
mmdevapi/tests: Remove a flaky test.
Which makes sense to me given the interface documentation and
works on the TestBot and physical machines I have, but doesn't
work on the GitLab CI.
-
7308057c
by Giovanni Mascellani at 2025-09-15T18:00:42+02:00
mmdevapi/tests: Introduce a helper to read many packets when capturing.
test_capture() currently captures only one audio packet in each
of its phases. That means that it the packet succeeds no check is
performed on failures, and if it fails no check is performed on
successes. By reading many packets each time we test more possible
control flows.
-
073455c4
by Giovanni Mascellani at 2025-09-15T18:00:44+02:00
mmdevapi/tests: Check that GetBuffer() fails when no packet is available.
-
fc033e06
by Giovanni Mascellani at 2025-09-15T18:00:44+02:00
mmdevapi/tests: Check that GetBuffer() returns a packet of the expected size.
-
d6f911a2
by Giovanni Mascellani at 2025-09-15T18:00:44+02:00
mmdevapi/tests: Check that the received packet isn't larger than the padding.