#include "device/fido/u2f_command_constructor.h"
#include <utility>
#include "device/fido/ctap_get_assertion_request.h"
#include "device/fido/ctap_make_credential_request.h"
#include "device/fido/fido_constants.h"
#include "device/fido/fido_parsing_utils.h"
#include "device/fido/fido_test_data.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace device {
namespace {
CtapMakeCredentialRequest ConstructMakeCredentialRequest() { … }
CtapGetAssertionRequest ConstructGetAssertionRequest() { … }
}
TEST(U2fCommandConstructorTest, TestCreateU2fRegisterCommand) { … }
TEST(U2fCommandConstructorTest, TestConvertCtapMakeCredentialToU2fRegister) { … }
TEST(U2fCommandConstructorTest, TestU2fRegisterCredentialAlgorithmRequirement) { … }
TEST(U2fCommandConstructorTest, TestU2fRegisterUserVerificationRequirement) { … }
TEST(U2fCommandConstructorTest, TestU2fRegisterResidentKeyRequirement) { … }
TEST(U2fCommandConstructorTest, TestCreateSignApduCommand) { … }
TEST(U2fCommandConstructorTest, TestConvertCtapGetAssertionToU2fSignRequest) { … }
TEST(U2fCommandConstructorTest, TestU2fSignAllowListRequirement) { … }
TEST(U2fCommandConstructorTest, TestU2fSignUserVerificationRequirement) { … }
TEST(U2fCommandConstructorTest, TestCreateSignWithIncorrectKeyHandle) { … }
}