chromium/third_party/blink/renderer/core/scheduler/idle_deadline_test.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/scheduler/idle_deadline.h"

#include "base/task/single_thread_task_runner.h"
#include "base/test/test_mock_time_task_runner.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/public/platform/scheduler/web_agent_group_scheduler.h"
#include "third_party/blink/renderer/platform/scheduler/public/thread_scheduler.h"
#include "third_party/blink/renderer/platform/testing/scoped_scheduler_overrider.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"

namespace blink {
namespace {

class MockIdleDeadlineScheduler final : public ThreadScheduler {};

}  // namespace

class IdleDeadlineTest : public testing::Test {};

TEST_F(IdleDeadlineTest, DeadlineInFuture) {}

TEST_F(IdleDeadlineTest, DeadlineInPast) {}

TEST_F(IdleDeadlineTest, YieldForHighPriorityWork) {}

}  // namespace blink