#include "device/fido/u2f_sign_operation.h"
#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <utility>
#include <vector>
#include "base/containers/span.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "device/fido/authenticator_get_assertion_response.h"
#include "device/fido/ctap_get_assertion_request.h"
#include "device/fido/fido_constants.h"
#include "device/fido/fido_parsing_utils.h"
#include "device/fido/fido_test_data.h"
#include "device/fido/mock_fido_device.h"
#include "device/fido/virtual_u2f_device.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace device {
_;
InSequence;
namespace {
TestSignFuture;
}
class U2fSignOperationTest : public ::testing::Test { … };
TEST_F(U2fSignOperationTest, SignSuccess) { … }
TEST_F(U2fSignOperationTest, SignSuccessWithFakeDevice) { … }
TEST_F(U2fSignOperationTest, DelayedSuccess) { … }
TEST_F(U2fSignOperationTest, MultipleHandles) { … }
TEST_F(U2fSignOperationTest, MultipleHandlesLengthError) { … }
TEST_F(U2fSignOperationTest, FakeEnroll) { … }
TEST_F(U2fSignOperationTest, DelayedFakeEnrollment) { … }
TEST_F(U2fSignOperationTest, FakeEnrollErroringOut) { … }
TEST_F(U2fSignOperationTest, SignWithCorruptedResponse) { … }
TEST_F(U2fSignOperationTest, AlternativeApplicationParameter) { … }
TEST_F(U2fSignOperationTest, AlternativeApplicationParameterRejection) { … }
}