#include "third_party/blink/renderer/platform/scheduler/main_thread/deadline_task_runner.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/test/task_environment.h"
#include "base/time/tick_clock.h"
#include "base/time/time.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace blink {
namespace scheduler {
class DeadlineTaskRunnerTest : public testing::Test { … };
TEST_F(DeadlineTaskRunnerTest, RunOnce) { … }
TEST_F(DeadlineTaskRunnerTest, RunTwice) { … }
TEST_F(DeadlineTaskRunnerTest, EarlierDeadlinesTakePrecidence) { … }
TEST_F(DeadlineTaskRunnerTest, LaterDeadlinesIgnored) { … }
TEST_F(DeadlineTaskRunnerTest, DeleteDeadlineTaskRunnerAfterPosting) { … }
}
}