#include "remoting/client/input/key_event_mapper.h"
#include <stdint.h>
#include "base/functional/bind.h"
#include "remoting/proto/event.pb.h"
#include "remoting/protocol/protocol_mock_objects.h"
#include "remoting/protocol/test_event_matchers.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
ExpectationSet;
InSequence;
namespace remoting {
InputStub;
KeyEvent;
MockInputStub;
EqualsKeyEventWithCapsLock;
static KeyEvent NewUsbEvent(uint32_t usb_keycode,
bool pressed,
uint32_t lock_states) { … }
static void PressAndReleaseUsb(InputStub* input_stub, uint32_t usb_keycode) { … }
static void InjectTestSequence(InputStub* input_stub) { … }
TEST(KeyEventMapperTest, NoMappingOrTrapping) { … }
TEST(KeyEventMapperTest, RemapKeys) { … }
static void HandleTrappedKey(MockInputStub* stub, const KeyEvent& event) { … }
TEST(KeyEventMapperTest, TrapKeys) { … }
}