chromium/components/sync/nigori/nigori_state_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_state.h"

#include <utility>
#include <vector>

#include "components/sync/base/time.h"
#include "components/sync/engine/nigori/cross_user_sharing_public_private_key_pair.h"
#include "components/sync/engine/nigori/key_derivation_params.h"
#include "components/sync/engine/nigori/nigori.h"
#include "components/sync/nigori/cryptographer_impl.h"
#include "components/sync/nigori/keystore_keys_cryptographer.h"
#include "components/sync/protocol/nigori_local_data.pb.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace syncer {

namespace {

NigoriSpecifics;
Eq;
Ne;

TEST(NigoriStateTest, ShouldConvertCustomPassphraseStateToSpecifics) {}

TEST(NigoriStateTest, ShouldConvertKeystoreStateToSpecifics) {}

TEST(NigoriStateTest, ShouldConvertPublicKeyStateToSpecifics) {}

TEST(NigoriStateTest, ShouldContainPublicKeyInLocalProto) {}

TEST(NigoriStateTest, ShouldClonePublicKey) {}

TEST(
    NigoriStateTest,
    ShouldSetCrossUserPublicKeyVersionInCreateFromLocalProtoAndBeAbleToEncrypt) {}

TEST(NigoriStateTest,
     ShouldReturnEmptyOnEncryptIfCrossUserPublicKeyVersionIsNotSet) {}

TEST(NigoriStateTest, ShouldReturnNeedsGenerateCrossUserSharingKeyPair) {}

TEST(NigoriStateTest,
     ShouldReturnNeedsGenerateCrossUserSharingKeyPairWhenInvalid) {}

}  // namespace

}  // namespace syncer