aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_common/test_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_common/test_driver.h')
-rw-r--r--tests/test_common/test_driver.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_common/test_driver.h b/tests/test_common/test_driver.h
index d5b831884..b1b95fbcc 100644
--- a/tests/test_common/test_driver.h
+++ b/tests/test_common/test_driver.h
@@ -20,6 +20,7 @@
#include "gmock/gmock.h"
#include <stdint.h>
#include "host.h"
+#include "keyboard_report_util.h"
class TestDriver {
@@ -27,8 +28,8 @@ public:
TestDriver();
~TestDriver();
MOCK_METHOD0(keyboard_leds_mock, uint8_t ());
- MOCK_METHOD1(send_keyboard_mock, void (report_keyboard_t*));
- MOCK_METHOD1(send_mouse_mock, void (report_mouse_t*));
+ MOCK_METHOD1(send_keyboard_mock, void (report_keyboard_t&));
+ MOCK_METHOD1(send_mouse_mock, void (report_mouse_t&));
MOCK_METHOD1(send_system_mock, void (uint16_t));
MOCK_METHOD1(send_consumer_mock, void (uint16_t));
private: