#include "components/sync/nigori/cross_user_sharing_keys.h"
#include <vector>
#include "components/sync/engine/nigori/cross_user_sharing_public_private_key_pair.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;
TEST(CrossUserSharingKeysTest, ShouldCreateEmpty) { … }
TEST(CrossUserSharingKeysTest, ShouldConvertEmptyToProto) { … }
TEST(CrossUserSharingKeysTest, ShouldCreateEmptyFromProto) { … }
TEST(CrossUserSharingKeysTest, ShouldCreateNonEmptyFromProto) { … }
TEST(CrossUserSharingKeysTest, ShouldCreateNonEmptyFromPartiallyInvalidProto) { … }
TEST(CrossUserSharingKeysTest, ShouldCloneWithKeyPairs) { … }
TEST(CrossUserSharingKeysTest, ShouldSetKeyPair) { … }
TEST(CrossUserSharingKeysTest, ShouldAddMultipleKeyPairs) { … }
TEST(CrossUserSharingKeysTest, ShouldCreateNonEmptyKeyPairsFromProto) { … }
TEST(CrossUserSharingKeysTest, ShouldReplacePreexistingKeyPair) { … }
}
}