chromium/content/browser/webid/digital_credentials/cross_device_transaction_impl_unittest.cc

// Copyright 2024 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/webid/digital_credentials/cross_device_transaction_impl.h"

#include "base/functional/bind.h"
#include "base/test/bind.h"
#include "base/test/scoped_logging_settings.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "content/public/browser/digital_credentials_cross_device.h"
#include "device/bluetooth/bluetooth_adapter.h"
#include "device/bluetooth/bluetooth_adapter_factory.h"
#include "device/bluetooth/test/mock_bluetooth_adapter.h"
#include "device/fido/cable/v2_test_util.h"
#include "services/network/public/mojom/network_context.mojom.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#include "url/origin.h"

Invoke;
NiceMock;
Return;

namespace content::digital_credentials::cross_device {
namespace {

MATCHER_P(ContainsError, expected_error, "") {}

class DigitalIdentityCrossDeviceTransactionTest : public ::testing::Test {};

TEST_F(DigitalIdentityCrossDeviceTransactionTest, NoBle) {}

TEST_F(DigitalIdentityCrossDeviceTransactionTest, NoAdapter) {}

TEST_F(DigitalIdentityCrossDeviceTransactionTest, PermissionDenied) {}

TEST_F(DigitalIdentityCrossDeviceTransactionTest, NoPowerThenPowered) {}

TEST_F(DigitalIdentityCrossDeviceTransactionTest, NeedPermissionThenDenied) {}

TEST_F(DigitalIdentityCrossDeviceTransactionTest, NeedPermissionThenGranted) {}

TEST_F(DigitalIdentityCrossDeviceTransactionTest,
       BleTurnedOffDuringTransaction) {}

}  // namespace
}  // namespace content::digital_credentials::cross_device