#include "content/browser/background_sync/background_sync_op_scheduler.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/scoped_feature_list.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
namespace background_sync_op_scheduler_unittest {
class TestTask { … };
class TestScheduler : public BackgroundSyncOpScheduler { … };
class BackgroundSyncOpSchedulerTest : public testing::Test { … };
TEST_F(BackgroundSyncOpSchedulerTest, ScheduleOne) { … }
TEST_F(BackgroundSyncOpSchedulerTest, ScheduledOperations) { … }
TEST_F(BackgroundSyncOpSchedulerTest, ScheduleTwoExclusive) { … }
}
}