diff options
Diffstat (limited to 'tests/test_common/test_fixture.cpp')
| -rw-r--r-- | tests/test_common/test_fixture.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_common/test_fixture.cpp b/tests/test_common/test_fixture.cpp index aff518d21..eef9b854b 100644 --- a/tests/test_common/test_fixture.cpp +++ b/tests/test_common/test_fixture.cpp | |||
| @@ -27,12 +27,10 @@ TestFixture::~TestFixture() { | |||
| 27 | // Run for a while to make sure all keys are completely released | 27 | // Run for a while to make sure all keys are completely released |
| 28 | // Should probably wait until tapping term etc, has timed out | 28 | // Should probably wait until tapping term etc, has timed out |
| 29 | EXPECT_CALL(driver, send_keyboard_mock(_)).Times(AnyNumber()); | 29 | EXPECT_CALL(driver, send_keyboard_mock(_)).Times(AnyNumber()); |
| 30 | EXPECT_CALL(driver, keyboard_leds_mock()).WillRepeatedly(Return(0)); | ||
| 31 | for (int i=0; i<100; i++) { | 30 | for (int i=0; i<100; i++) { |
| 32 | keyboard_task(); | 31 | keyboard_task(); |
| 33 | } | 32 | } |
| 34 | testing::Mock::VerifyAndClearExpectations(&driver); | 33 | testing::Mock::VerifyAndClearExpectations(&driver); |
| 35 | // Verify that the matrix really is cleared | 34 | // Verify that the matrix really is cleared |
| 36 | EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport())).Times(Between(0, 1)); | 35 | EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport())).Times(Between(0, 1)); |
| 37 | EXPECT_CALL(driver, keyboard_leds_mock()).WillRepeatedly(Return(0)); | ||
| 38 | } \ No newline at end of file | 36 | } \ No newline at end of file |
