From 82d2a9564e2657ffa0716a7cb980e126c5c9ead1 Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Thu, 16 Jun 2016 15:21:16 +0000 Subject: [PATCH] #3305 Made mock match to the original KeyState --- src/test/unittests/synergy/KeyStateTests.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/unittests/synergy/KeyStateTests.h b/src/test/unittests/synergy/KeyStateTests.h index 8a9846c0..1ab49a22 100644 --- a/src/test/unittests/synergy/KeyStateTests.h +++ b/src/test/unittests/synergy/KeyStateTests.h @@ -45,7 +45,7 @@ public: MOCK_METHOD0(fakeCtrlAltDel, bool()); MOCK_METHOD1(getKeyMap, void(synergy::KeyMap&)); MOCK_METHOD1(fakeKey, void(const Keystroke&)); - MOCK_METHOD2(fakeMediaKey, bool(KeyID, bool)); + MOCK_METHOD1(fakeMediaKey, bool(KeyID)); MOCK_CONST_METHOD1(pollPressedKeys, void(KeyButtonSet&)); };