chromium/chrome/browser/sync_file_system/drive_backend/remote_to_local_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/remote_to_local_syncer.h"

#include <map>
#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/list_changes_task.h"
#include "chrome/browser/sync_file_system/drive_backend/metadata_database.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_uploader.h"
#include "components/drive/service/fake_drive_service.h"
#include "content/public/test/browser_task_environment.h"
#include "google_apis/common/api_error_codes.h"
#include "mojo/public/cpp/bindings/pending_remote.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) {}

}  // namespace

class RemoteToLocalSyncerTest : public testing::Test {};

TEST_F(RemoteToLocalSyncerTest, AddNewFile) {}

TEST_F(RemoteToLocalSyncerTest, DeleteFile) {}

TEST_F(RemoteToLocalSyncerTest, DeleteNestedFiles) {}

TEST_F(RemoteToLocalSyncerTest, Conflict_CreateFileOnFolder) {}

TEST_F(RemoteToLocalSyncerTest, Conflict_CreateFolderOnFile) {}

TEST_F(RemoteToLocalSyncerTest, Conflict_CreateFolderOnFolder) {}

TEST_F(RemoteToLocalSyncerTest, Conflict_CreateFileOnFile) {}

TEST_F(RemoteToLocalSyncerTest, Conflict_CreateNestedFolderOnFile) {}

TEST_F(RemoteToLocalSyncerTest, AppRootDeletion) {}

}  // namespace drive_backend
}  // namespace sync_file_system