chromium/extensions/browser/api/bluetooth/bluetooth_apitest.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 <string.h>

#include <memory>

#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/test/browser_test.h"
#include "device/bluetooth/bluetooth_adapter.h"
#include "device/bluetooth/public/cpp/bluetooth_uuid.h"
#include "device/bluetooth/test/mock_bluetooth_adapter.h"
#include "device/bluetooth/test/mock_bluetooth_device.h"
#include "extensions/browser/api/bluetooth/bluetooth_api.h"
#include "extensions/browser/api/bluetooth/bluetooth_event_router.h"
#include "extensions/browser/api_test_utils.h"
#include "extensions/common/extension_builder.h"
#include "extensions/test/extension_test_message_listener.h"
#include "extensions/test/result_catcher.h"
#include "testing/gmock/include/gmock/gmock.h"

BluetoothAdapter;
BluetoothDevice;
BluetoothDeviceType;
BluetoothDiscoverySession;
BluetoothUUID;
MockBluetoothAdapter;
MockBluetoothDevice;
Extension;
ResultCatcher;

utils;
api;

namespace {

_;
Invoke;

static const char* kAdapterAddress =;
static const char* kName =;

class BluetoothApiTest : public extensions::ExtensionApiTest {};

}  // namespace

IN_PROC_BROWSER_TEST_F(BluetoothApiTest, GetAdapterState) {}

IN_PROC_BROWSER_TEST_F(BluetoothApiTest, DeviceEvents) {}

IN_PROC_BROWSER_TEST_F(BluetoothApiTest, Discovery) {}

IN_PROC_BROWSER_TEST_F(BluetoothApiTest, DiscoveryCallback) {}

IN_PROC_BROWSER_TEST_F(BluetoothApiTest, DiscoveryInProgress) {}

IN_PROC_BROWSER_TEST_F(BluetoothApiTest, OnAdapterStateChanged) {}

IN_PROC_BROWSER_TEST_F(BluetoothApiTest, GetDevices) {}

IN_PROC_BROWSER_TEST_F(BluetoothApiTest, GetDevice) {}

IN_PROC_BROWSER_TEST_F(BluetoothApiTest, DeviceInfo) {}