Matthias Grob
618724b409
Functional gtests: remove unnecessary subscription updates
...
A new subscription is updated on instanciation and no additional
update needs to be called for processing the first sample.
2023-07-13 12:00:35 +02:00
Matthias Grob
2dcb525cd9
RCUpdateTest: RC switch correct corner case test value
...
Co-authored-by: Junwoo Hwang <junwoo091400@gmail.com>
2023-07-11 15:58:48 +02:00
Matthias Grob
42fa41e601
rc_update: fix on-off-switch with negative threshold values
2023-07-11 15:58:48 +02:00
Matthias Grob
1fa5136e30
RCUpdateTest: add unit test for return switch
2023-07-11 15:58:48 +02:00
Matthias Grob
392d445783
RCUpdateTest: fix unit test parameters + restoring state after test
...
Channel values stay over one unit test but some tests assumed they are
reset each time. Reset the channel after these mode button tests.
Parameters survive between unit tests presumably as long as
the bianry runs. Reset them if a test requires that.
2023-07-11 15:58:48 +02:00
Matthias Grob
87c697a0d6
rc_update: switch back to protected scope and use fixture for testing
2023-07-11 15:58:48 +02:00
Matthias Grob
4bd2d4cf35
rc_update: add unit tests for mode slot
...
To verify RC mode switch and mode button functionality works as expected.
2022-05-16 14:37:29 +02:00