chromium/remoting/protocol/input_filter_unittest.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "remoting/protocol/input_filter.h"

#include <stdint.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"

_;

namespace remoting::protocol {

EqualsKeyEvent;
EqualsMouseMoveEvent;
EqualsTextEvent;

static KeyEvent NewKeyEvent(uint32_t usb_keycode, bool pressed) {}

static TextEvent NewTextEvent(const std::string& text) {}

static MouseEvent MouseMoveEvent(int x, int y) {}

static void InjectTestSequence(protocol::InputStub* input_stub) {}

// Verify that the filter passes events on correctly to a configured stub.
TEST(InputFilterTest, EventsPassThroughFilter) {}

// Verify that the filter ignores events if disabled.
TEST(InputFilterTest, IgnoreEventsIfDisabled) {}

// Verify that the filter ignores events if not configured.
TEST(InputFilterTest, IgnoreEventsIfNotConfigured) {}

}  // namespace remoting::protocol