#include "chrome/browser/sync_file_system/drive_backend/list_changes_task.h"
#include <stddef.h>
#include <memory>
#include <string>
#include <utility>
#include "base/files/scoped_temp_dir.h"
#include "base/format_macros.h"
#include "base/functional/bind.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/fake_drive_service_helper.h"
#include "chrome/browser/sync_file_system/drive_backend/metadata_database.h"
#include "chrome/browser/sync_file_system/drive_backend/register_app_task.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/sync_file_system_test_util.h"
#include "content/public/test/browser_task_environment.h"
#include "google_apis/drive/drive_api_parser.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 {
const char kAppID[] = …;
const char kUnregisteredAppID[] = …;
}
class ListChangesTaskTest : public testing::Test { … };
TEST_F(ListChangesTaskTest, NoChange) { … }
TEST_F(ListChangesTaskTest, UnrelatedChange) { … }
TEST_F(ListChangesTaskTest, UnderTrackedFolder) { … }
TEST_F(ListChangesTaskTest, TeamDriveChangeInChangeList) { … }
}
}