diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-06-19 00:19:09 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2017-06-19 00:19:09 +0300 |
commit | 43d8fa5bf1248ce5c1ce5f9cb0d238d794b4475d (patch) | |
tree | cc98ca3ae09ef1b639de0f7b81636b8162301ca0 /tests/test_common/test_fixture.cpp | |
parent | 36f820be7e80bc8f1f5489373708356cf142c269 (diff) |
More natural interface for setting keyboard leds
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 aff518d21e..eef9b854b7 100644 --- a/tests/test_common/test_fixture.cpp +++ b/tests/test_common/test_fixture.cpp @@ -27,12 +27,10 @@ TestFixture::~TestFixture() { // Run for a while to make sure all keys are completely released // Should probably wait until tapping term etc, has timed out EXPECT_CALL(driver, send_keyboard_mock(_)).Times(AnyNumber()); - EXPECT_CALL(driver, keyboard_leds_mock()).WillRepeatedly(Return(0)); for (int i=0; i<100; i++) { keyboard_task(); } testing::Mock::VerifyAndClearExpectations(&driver); // Verify that the matrix really is cleared EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport())).Times(Between(0, 1)); - EXPECT_CALL(driver, keyboard_leds_mock()).WillRepeatedly(Return(0)); }
\ No newline at end of file |