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

// Copyright 2021 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/microphone_mute_switch_event_converter_evdev.h"

#include <errno.h>
#include <fcntl.h>
#include <linux/input.h>
#include <unistd.h>

#include <memory>
#include <utility>
#include <vector>

#include "base/files/scoped_file.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/devices/microphone_mute_switch_monitor.h"
#include "ui/events/ozone/device/device_manager.h"
#include "ui/events/ozone/evdev/event_converter_test_util.h"
#include "ui/events/ozone/evdev/event_device_test_util.h"
#include "ui/events/ozone/evdev/event_factory_evdev.h"
#include "ui/events/ozone/layout/stub/stub_keyboard_layout_engine.h"

namespace {

const char kTestDevicePath[] =;

constexpr char kPuffMicrophoneMuteSwitchDescription[] =;

class TestMicrophoneMuteObserver
    : public ui::MicrophoneMuteSwitchMonitor::Observer {};

}  // namespace

class MicrophoneMuteSwitchEventConverterEvdevTest : public testing::Test {};

TEST_F(MicrophoneMuteSwitchEventConverterEvdevTest, MuteChangeEvents) {}

TEST_F(MicrophoneMuteSwitchEventConverterEvdevTest, DescribeStateForLog) {}