chromium/components/bookmarks/browser/model_loader_unittest.cc

// Copyright 2024 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/bookmarks/browser/model_loader.h"

#include <memory>

#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/path_service.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "components/bookmarks/browser/bookmark_client.h"
#include "components/bookmarks/browser/bookmark_load_details.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace bookmarks {
namespace {

const char kLocalOrSyncableIdsReassignedMetricName[] =;
const char kAccountIdsReassignedMetricName[] =;

const base::FilePath& GetTestDataDir() {}

const BookmarkNode* FindNodeByUuid(const UuidIndex& index,
                                   const std::string& uuid_str) {}

TEST(ModelLoaderTest, LoadNonEmptyModel) {}

TEST(ModelLoaderTest, LoadTwoFilesWithNonCollidingIds) {}

TEST(ModelLoaderTest, LoadTwoFilesWithCollidingIdsAcross) {}

TEST(ModelLoaderTest, LoadTwoFilesWhereFirstHasInternalIdCollisions) {}

TEST(ModelLoaderTest, LoadTwoFilesWhereSecondHasInternalIdCollisions) {}

TEST(ModelLoaderTest, LoadTwoFilesWhereBothHaveInternalIdCollisions) {}

TEST(ModelLoaderTest, LoadTwoFilesWhereTheLocalOrSyncableFileDoesNotExist) {}

}  // namespace

}  // namespace bookmarks