#include "device/fido/make_credential_task.h"
#include <array>
#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "device/fido/authenticator_get_info_response.h"
#include "device/fido/authenticator_make_credential_response.h"
#include "device/fido/authenticator_supported_options.h"
#include "device/fido/ctap_make_credential_request.h"
#include "device/fido/fido_constants.h"
#include "device/fido/fido_device.h"
#include "device/fido/fido_parsing_utils.h"
#include "device/fido/fido_test_data.h"
#include "device/fido/fido_types.h"
#include "device/fido/mock_fido_device.h"
#include "device/fido/public_key_credential_params.h"
#include "device/fido/public_key_credential_rp_entity.h"
#include "device/fido/public_key_credential_user_entity.h"
#include "device/fido/virtual_ctap2_device.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
namespace device {
namespace {
constexpr std::array<uint8_t, kAaguidLength> kTestDeviceAaguid = …;
TestMakeCredentialTaskFuture;
class FidoMakeCredentialTaskTest : public testing::Test { … };
TEST_F(FidoMakeCredentialTaskTest, MakeCredentialSuccess) { … }
TEST_F(FidoMakeCredentialTaskTest, TestRegisterSuccessWithFake) { … }
TEST_F(FidoMakeCredentialTaskTest, FallbackToU2fRegisterSuccess) { … }
TEST_F(FidoMakeCredentialTaskTest, DefaultToU2fWhenClientPinSet) { … }
TEST_F(FidoMakeCredentialTaskTest, EnforceClientPinWhenUserVerificationSet) { … }
}
}