chromium/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.h"

#include <memory>
#include <utility>

#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.h"
#include "chrome/browser/sync_file_system/drive_backend/drive_backend_test_util.h"
#include "chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h"
#include "chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.h"
#include "chrome/browser/sync_file_system/drive_backend/list_changes_task.h"
#include "chrome/browser/sync_file_system/drive_backend/metadata_database.h"
#include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h"
#include "chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h"
#include "chrome/browser/sync_file_system/drive_backend/sync_engine_context.h"
#include "chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h"
#include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h"
#include "chrome/browser/sync_file_system/drive_backend/sync_task_token.h"
#include "chrome/browser/sync_file_system/fake_remote_change_processor.h"
#include "chrome/browser/sync_file_system/sync_file_system_test_util.h"
#include "chrome/browser/sync_file_system/syncable_file_system_util.h"
#include "components/drive/drive_api_util.h"
#include "components/drive/drive_uploader.h"
#include "components/drive/service/fake_drive_service.h"
#include "content/public/test/browser_task_environment.h"
#include "google_apis/drive/drive_api_parser.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/leveldatabase/leveldb_chrome.h"

namespace sync_file_system {
namespace drive_backend {

namespace {

storage::FileSystemURL URL(const GURL& origin, const std::string& path) {}

const int kRetryLimit =;

}  // namespace

class LocalToRemoteSyncerTest : public testing::Test {};

TEST_F(LocalToRemoteSyncerTest, CreateFile) {}

TEST_F(LocalToRemoteSyncerTest, CreateFileOnMissingPath) {}

TEST_F(LocalToRemoteSyncerTest, DeleteFile) {}

TEST_F(LocalToRemoteSyncerTest, Conflict_CreateFileOnFolder) {}

TEST_F(LocalToRemoteSyncerTest, Conflict_CreateFolderOnFile) {}

TEST_F(LocalToRemoteSyncerTest, Conflict_CreateFileOnFile) {}

TEST_F(LocalToRemoteSyncerTest, Conflict_UpdateDeleteOnFile) {}

TEST_F(LocalToRemoteSyncerTest, Conflict_CreateDeleteOnFile) {}

TEST_F(LocalToRemoteSyncerTest, Conflict_CreateFolderOnFolder) {}

TEST_F(LocalToRemoteSyncerTest, AppRootDeletion) {}

}  // namespace drive_backend
}  // namespace sync_file_system