chromium/ui/events/ozone/evdev/event_factory_evdev_unittest.cc

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

#include "ui/events/ozone/evdev/event_factory_evdev.h"

#include <optional>

#include "base/task/single_thread_task_runner.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/base_event_utils.h"
#include "ui/events/event_constants.h"
#include "ui/events/ozone/device/device_manager.h"
#include "ui/events/ozone/evdev/device_event_dispatcher_evdev.h"
#include "ui/events/ozone/evdev/mouse_button_property.h"
#include "ui/events/ozone/features.h"
#include "ui/events/platform/platform_event_observer.h"
#include "ui/events/platform_event.h"
#include "ui/gfx/geometry/point_f.h"
#include "ui/gfx/geometry/vector2d_f.h"

namespace ui {

namespace {

class MockDeviceManager : public DeviceManager {};

class MockPlatformEventObserver : public PlatformEventObserver {};

class EventFactoryEvdevTest : public testing::Test {};

TEST_F(EventFactoryEvdevTest, OrdinalImpliesFlag) {}

TEST_F(EventFactoryEvdevTest, NoOrdinalImpliesNoFlag) {}

TEST_F(EventFactoryEvdevTest, MouseSideButtonRemapsToBack) {}

TEST_F(EventFactoryEvdevTest, MouseBackButtonRemapsToBack) {}

TEST_F(EventFactoryEvdevTest, MouseExtraButtonRemapsToForward) {}

TEST_F(EventFactoryEvdevTest, MouseForwardButtonRemapsToForward) {}

}  // namespace
}  // namespace ui