mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-25 20:56:42 +00:00
expect empty report on clear keyboard with mousekeys enabled
This commit is contained in:
parent
e9bb4521ba
commit
0fe775fdf9
@ -7,6 +7,7 @@
|
|||||||
#include "gmock/gmock.h"
|
#include "gmock/gmock.h"
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include "keyboard_report_util.hpp"
|
#include "keyboard_report_util.hpp"
|
||||||
|
#include "mouse_report_util.hpp"
|
||||||
#include "keycode.h"
|
#include "keycode.h"
|
||||||
#include "test_driver.hpp"
|
#include "test_driver.hpp"
|
||||||
#include "test_logger.hpp"
|
#include "test_logger.hpp"
|
||||||
@ -69,6 +70,9 @@ TestFixture::~TestFixture() {
|
|||||||
/* Reset keyboard state. */
|
/* Reset keyboard state. */
|
||||||
clear_all_keys();
|
clear_all_keys();
|
||||||
|
|
||||||
|
#ifdef MOUSEKEY_ENABLE
|
||||||
|
EXPECT_EMPTY_MOUSE_REPORT(driver);
|
||||||
|
#endif
|
||||||
clear_keyboard();
|
clear_keyboard();
|
||||||
|
|
||||||
clear_oneshot_mods();
|
clear_oneshot_mods();
|
||||||
|
Loading…
Reference in New Issue
Block a user