#include "chrome/browser/sync_file_system/drive_backend/task_dependency_manager.h"
#include "base/files/file_path.h"
#include "testing/gtest/include/gtest/gtest.h"
#define FPL(path) …
namespace sync_file_system {
namespace drive_backend {
namespace {
base::FilePath MakePath(const base::FilePath::StringType& path) { … }
bool InsertPath(TaskDependencyManager* manager,
const std::string& app_id,
const base::FilePath::StringType& path) { … }
void ErasePath(TaskDependencyManager* manager,
const std::string& app_id,
const base::FilePath::StringType& path) { … }
bool InsertExclusiveTask(TaskDependencyManager* manager) { … }
void EraseExclusiveTask(TaskDependencyManager* manager) { … }
}
TEST(TaskDependencyManagerTest, BasicTest) { … }
TEST(TaskDependencyManagerTest, BlocksAncestorAndDescendant) { … }
TEST(TaskDependencyManagerTest, ExclusiveTask) { … }
TEST(TaskDependencyManagerTest, PermissiveTask) { … }
}
}