chromium/content/browser/bluetooth/bluetooth_allowed_devices_unittest.cc

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

#include "content/browser/bluetooth/bluetooth_allowed_devices.h"

#include "base/strings/string_util.h"
#include "content/browser/bluetooth/bluetooth_allowed_devices_map.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/bluetooth/web_bluetooth_device_id.h"
#include "url/gurl.h"

BluetoothUUID;

namespace content {
namespace {
const std::string kDeviceAddress1 =;
const std::string kDeviceAddress2 =;

const std::string kDeviceName =;

const char kGlucoseUUIDString[] =;
const char kHeartRateUUIDString[] =;
const char kBatteryServiceUUIDString[] =;
const char kBloodPressureUUIDString[] =;
const char kCyclingPowerUUIDString[] =;
const BluetoothUUID kGlucoseUUID(kGlucoseUUIDString);
const BluetoothUUID kHeartRateUUID(kHeartRateUUIDString);
const BluetoothUUID kBatteryServiceUUID(kBatteryServiceUUIDString);
const BluetoothUUID kBloodPressureUUID(kBloodPressureUUIDString);
const BluetoothUUID kCyclingPowerUUID(kCyclingPowerUUIDString);

class BluetoothAllowedDevicesTest : public testing::Test {};

}  // namespace

TEST_F(BluetoothAllowedDevicesTest, UniqueOriginNotSupported) {}

TEST_F(BluetoothAllowedDevicesTest, AddDevice) {}

TEST_F(BluetoothAllowedDevicesTest, AddDeviceTwice) {}

TEST_F(BluetoothAllowedDevicesTest, AddTwoDevices) {}

TEST_F(BluetoothAllowedDevicesTest, AddTwoDevicesFromTwoOriginsToMap) {}

TEST_F(BluetoothAllowedDevicesTest, AddDeviceFromTwoOriginsToMap) {}

TEST_F(BluetoothAllowedDevicesTest, AddRemoveAddDevice) {}

TEST_F(BluetoothAllowedDevicesTest, RemoveDevice) {}

TEST_F(BluetoothAllowedDevicesTest, NoPermissionForAnyService) {}

TEST_F(BluetoothAllowedDevicesTest, AllowedServices_OneDevice) {}

TEST_F(BluetoothAllowedDevicesTest, AllowedServices_TwoDevices) {}

TEST_F(BluetoothAllowedDevicesTest, AllowedServices_TwoOriginsOneDevice) {}

TEST_F(BluetoothAllowedDevicesTest, MergeServices) {}

TEST_F(BluetoothAllowedDevicesTest, CorrectIdFormat) {}

TEST_F(BluetoothAllowedDevicesTest, NoFilterServices) {}

}  // namespace content