#include "content/browser/webid/digital_credentials/cross_device_request_dispatcher.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "content/browser/webid/digital_credentials/cross_device_request_dispatcher.h"
#include "content/public/browser/digital_credentials_cross_device.h"
#include "device/fido/cable/v2_authenticator.h"
#include "device/fido/cable/v2_constants.h"
#include "device/fido/cable/v2_handshake.h"
#include "device/fido/cable/v2_test_util.h"
#include "device/fido/fido_constants.h"
#include "services/network/public/mojom/network_context.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/boringssl/src/include/openssl/ec.h"
#include "third_party/boringssl/src/include/openssl/nid.h"
#include "url/gurl.h"
#include "url/origin.h"
namespace content::digital_credentials::cross_device {
namespace {
class DigitalCredentialsCrossDeviceRequestDispatcherTest
: public ::testing::Test { … };
TEST_F(DigitalCredentialsCrossDeviceRequestDispatcherTest, Valid) { … }
TEST_F(DigitalCredentialsCrossDeviceRequestDispatcherTest, InvalidJson) { … }
TEST_F(DigitalCredentialsCrossDeviceRequestDispatcherTest, ErrorResponse) { … }
TEST_F(DigitalCredentialsCrossDeviceRequestDispatcherTest, OtherError) { … }
TEST_F(DigitalCredentialsCrossDeviceRequestDispatcherTest, ErrorIsNotAString) { … }
TEST_F(DigitalCredentialsCrossDeviceRequestDispatcherTest, InvalidStructure) { … }
TEST_F(DigitalCredentialsCrossDeviceRequestDispatcherTest, CTAPResponse) { … }
}
}