#include "components/sync_bookmarks/parent_guid_preprocessing.h"
#include <memory>
#include "base/uuid.h"
#include "components/bookmarks/browser/bookmark_node.h"
#include "components/bookmarks/browser/bookmark_uuids.h"
#include "components/sync/protocol/bookmark_specifics.pb.h"
#include "components/sync/protocol/data_type_state.pb.h"
#include "components/sync/protocol/entity_data.h"
#include "components/sync/protocol/entity_specifics.pb.h"
#include "components/sync_bookmarks/bookmark_model_view.h"
#include "components/sync_bookmarks/synced_bookmark_tracker.h"
#include "components/sync_bookmarks/test_bookmark_model_view.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace sync_bookmarks {
namespace {
Eq;
TEST(ParentGuidPreprocessingTest, ShouldReturnGuidForSyncIdIncludedInUpdates) { … }
TEST(ParentGuidPreprocessingTest,
ShouldReturnInvalidGuidForSyncIdMissingInUpdates) { … }
TEST(ParentGuidPreprocessingTest, ShouldReturnGuidForPermanentFolders) { … }
TEST(ParentGuidPreprocessingTest, ShouldPopulateParentGuidInInitialUpdates) { … }
TEST(ParentGuidPreprocessingTest,
ShouldNotOverridePreexistingParentGuidInSpecifics) { … }
TEST(ParentGuidPreprocessingTest,
ShouldPopulateParentGuidInIncrementalUpdates) { … }
TEST(ParentGuidPreprocessingTest,
ShouldPopulateWithFakeGuidIfParentSetButUnknown) { … }
}
}