1
0
Fork 0

Add pointing tests (#24513)

This commit is contained in:
Dasky 2024-11-23 16:34:32 +00:00 committed by GitHub
parent d189de24a0
commit 1f7d10902a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 917 additions and 0 deletions

View file

@ -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();