chromium/components/sync/nigori/nigori_key_bag_unittest.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/sync/nigori/nigori_key_bag.h"

#include <vector>

#include "components/sync/engine/nigori/key_derivation_params.h"
#include "components/sync/engine/nigori/nigori.h"
#include "components/sync/protocol/encryption.pb.h"
#include "components/sync/protocol/nigori_local_data.pb.h"
#include "components/sync/protocol/nigori_specifics.pb.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace syncer {
namespace {

Eq;
Ne;
SizeIs;

std::unique_ptr<Nigori> CreateTestNigori(const std::string& password) {}

TEST(NigoriKeyBagTest, ShouldCreateEmpty) {}

TEST(NigoriKeyBagTest, ShouldAddKeys) {}

TEST(NigoriKeyBagTest, ShouldExportKey) {}

TEST(NigoriKeyBagTest, ShouldConvertEmptyToProto) {}

TEST(NigoriKeyBagTest, ShouldConvertNonEmptyToProto) {}

TEST(NigoriKeyBagTest, ShouldCreateEmptyFromProto) {}

TEST(NigoriKeyBagTest, ShouldCreateNonEmptyFromProto) {}

TEST(NigoriKeyBagTest, ShouldCreateNonEmptyFromPartiallyInvalidProto) {}

TEST(NigoriKeyBagTest, ShouldClone) {}

// This holds true for M79 and above, but older clients rely on the field being
// set.
TEST(NigoriKeyBagTest, ShouldIgnoreDeprecatedKeyNameProtoField) {}

TEST(NigoriKeyBagTest, ShouldEncryptAndDecrypt) {}

}  // namespace
}  // namespace syncer