#include "base/logging.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/strings/stringprintf.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "device/bluetooth/bluetooth_adapter.h"
#include "device/bluetooth/bluetooth_device.h"
#include "device/bluetooth/bluetooth_gatt_characteristic.h"
#include "device/bluetooth/bluetooth_gatt_connection.h"
#include "device/bluetooth/floss/bluetooth_adapter_floss.h"
#include "device/bluetooth/floss/bluetooth_device_floss.h"
#include "device/bluetooth/floss/bluetooth_remote_gatt_characteristic_floss.h"
#include "device/bluetooth/floss/bluetooth_remote_gatt_descriptor_floss.h"
#include "device/bluetooth/floss/bluetooth_remote_gatt_service_floss.h"
#include "device/bluetooth/floss/fake_floss_adapter_client.h"
#include "device/bluetooth/floss/fake_floss_gatt_manager_client.h"
#include "device/bluetooth/floss/fake_floss_manager_client.h"
#include "device/bluetooth/floss/floss_dbus_manager.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
constexpr int kGattClientId = …;
constexpr int kUseThisAdapter = …;
constexpr char kFakeUuidShort[] = …;
}
namespace floss {
FlossCharacteristic;
class BluetoothGattFlossTest : public testing::Test { … };
TEST_F(BluetoothGattFlossTest, ConnectAndResolveServices) { … }
TEST_F(BluetoothGattFlossTest, UpgradeToFullDiscovery) { … }
TEST_F(BluetoothGattFlossTest, TranslateReadWriteAuthentication) { … }
TEST_F(BluetoothGattFlossTest, VerifyAllIdentifiers) { … }
}