#include "components/unexportable_keys/unexportable_key_loader.h"
#include "base/check.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "components/unexportable_keys/background_task_priority.h"
#include "components/unexportable_keys/service_error.h"
#include "components/unexportable_keys/unexportable_key_service_impl.h"
#include "components/unexportable_keys/unexportable_key_task_manager.h"
#include "crypto/scoped_mock_unexportable_key_provider.h"
#include "crypto/signature_verifier.h"
#include "crypto/unexportable_key.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace unexportable_keys {
namespace {
constexpr crypto::SignatureVerifier::SignatureAlgorithm
kAcceptableAlgorithms[] = …;
constexpr BackgroundTaskPriority kTaskPriority = …;
}
class UnexportableKeyLoaderTest : public testing::Test { … };
TEST_F(UnexportableKeyLoaderTest, CreateFromWrappedKeySync) { … }
TEST_F(UnexportableKeyLoaderTest, CreateFromWrappedKeyAsync) { … }
TEST_F(UnexportableKeyLoaderTest, CreateFromWrappedKeyMultipleCallbacks) { … }
TEST_F(UnexportableKeyLoaderTest, CreateWithNewKey) { … }
TEST_F(UnexportableKeyLoaderTest, CreateWithNewKeyFailure) { … }
TEST_F(UnexportableKeyLoaderTest, SignDataAfterLoading) { … }
}