chromium/components/sync/engine/commit_contribution_impl_unittest.cc

// Copyright 2018 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/engine/commit_contribution_impl.h"

#include <memory>
#include <string>
#include <utility>

#include "base/base64.h"
#include "base/functional/callback_helpers.h"
#include "base/hash/sha1.h"
#include "base/test/mock_callback.h"
#include "components/sync/base/client_tag_hash.h"
#include "components/sync/base/data_type.h"
#include "components/sync/base/unique_position.h"
#include "components/sync/protocol/entity_data.h"
#include "components/sync/protocol/entity_specifics.pb.h"
#include "components/sync/protocol/sharing_message_specifics.pb.h"
#include "components/sync/protocol/sync.pb.h"
#include "components/sync/protocol/sync_entity.pb.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace syncer {

namespace {

CommitResponse;
EntitySpecifics;
SharingMessageCommitError;
SyncEntity;
IsEmpty;
Not;
SizeIs;

const ClientTagHash kTag =;
const char kValue[] =;
const char kURL[] =;
const char kTitle[] =;

EntitySpecifics GeneratePreferenceSpecifics(const ClientTagHash& tag,
                                            const std::string& value) {}

EntitySpecifics GenerateBookmarkSpecifics(const std::string& url,
                                          const std::string& title) {}

std::unique_ptr<EntityData> CreateDefaultPreferenceEntityData() {}

TEST(CommitContributionImplTest, PopulateCommitProtoDefault) {}

TEST(CommitContributionImplTest, PopulateCommitProtoTombstone) {}

TEST(CommitContributionImplTest, PopulateCommitProtoBookmark) {}

TEST(CommitContributionImplTest, PopulateCommitProtoBookmarkFolder) {}

TEST(CommitContributionImplTest, ShouldPropagateFailedItemsOnCommitResponse) {}

TEST(CommitContributionImplTest, ShouldPropagateFullCommitFailure) {}

TEST(CommitContributionImplTest, ShouldPopulateIdStringForCommitOnlyTypes) {}

TEST(CommitContributionImplTest, ShouldPopulateCollaborationId) {}

}  // namespace

}  // namespace syncer