diff options
author | Dasky <[email protected]> | 2024-11-23 16:34:32 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-11-23 16:34:32 +0000 |
commit | 1f7d10902a7e603a47b9291664fcb9ab0b21f690 (patch) | |
tree | 55202d0ac9edd5bf977e5b0c95bdcf3b3f859c88 /tests/test_common/test_fixture.cpp | |
parent | d189de24a0797ea32d00b652fe798f5315566ab3 (diff) | |
download | qmk_firmware-1f7d10902a7e603a47b9291664fcb9ab0b21f690.tar.gz qmk_firmware-1f7d10902a7e603a47b9291664fcb9ab0b21f690.zip |
Add pointing tests (#24513)
Diffstat (limited to 'tests/test_common/test_fixture.cpp')
-rw-r--r-- | tests/test_common/test_fixture.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_common/test_fixture.cpp b/tests/test_common/test_fixture.cpp index 3cfb2cb4c2..81806b0e6d 100644 --- a/tests/test_common/test_fixture.cpp +++ b/tests/test_common/test_fixture.cpp @@ -7,6 +7,7 @@ #include "gmock/gmock.h" #include "gtest/gtest.h" #include "keyboard_report_util.hpp" +#include "mouse_report_util.hpp" #include "keycode.h" #include "test_driver.hpp" #include "test_logger.hpp" @@ -69,6 +70,9 @@ TestFixture::~TestFixture() { /* Reset keyboard state. */ clear_all_keys(); +#ifdef MOUSEKEY_ENABLE + EXPECT_EMPTY_MOUSE_REPORT(driver); +#endif clear_keyboard(); clear_oneshot_mods(); |