summaryrefslogtreecommitdiffstats
path: root/tests/test_common/test_fixture.cpp
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-06-18 23:19:09 +0200
committerFred Sundvik <fsundvik@gmail.com>2017-06-18 23:19:09 +0200
commit43d8fa5bf1248ce5c1ce5f9cb0d238d794b4475d (patch)
treecc98ca3ae09ef1b639de0f7b81636b8162301ca0 /tests/test_common/test_fixture.cpp
parent36f820be7e80bc8f1f5489373708356cf142c269 (diff)
downloadqmk_firmware-43d8fa5bf1248ce5c1ce5f9cb0d238d794b4475d.tar.gz
qmk_firmware-43d8fa5bf1248ce5c1ce5f9cb0d238d794b4475d.tar.xz
More natural interface for setting keyboard leds
Diffstat (limited to 'tests/test_common/test_fixture.cpp')
-rw-r--r--tests/test_common/test_fixture.cpp2
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() {
// 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