chromium/device/gamepad/gamepad_blocklist_unittest.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "device/gamepad/gamepad_blocklist.h"

#include "device/gamepad/gamepad_id_list.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace device {
namespace {
// Blocked devices, taken from the gamepad blocklist.
constexpr std::pair<uint16_t, uint16_t> kBlockedDevices[] =;
constexpr size_t kBlockedDevicesLength =;

// Known devices from blocked vendors, taken from usb.ids.
// http://www.linux-usb.org/usb.ids
constexpr std::pair<uint16_t, uint16_t> kBlockedVendorDevices[] =;
constexpr size_t kBlockedVendorDevicesLength =;

}  // namespace

TEST(GamepadBlocklistTest, KnownGamepadsNotBlocked) {}

TEST(GamepadBlocklistTest, BlockedDevices) {}

TEST(GamepadBlocklistTest, BlockedVendors) {}

}  // namespace device