chromium/third_party/blink/renderer/platform/scheduler/main_thread/idle_time_estimator_unittest.cc

// Copyright 2015 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/platform/scheduler/main_thread/idle_time_estimator.h"

#include <memory>

#include "base/functional/callback.h"
#include "base/memory/scoped_refptr.h"
#include "base/task/sequence_manager/sequence_manager.h"
#include "base/task/sequence_manager/task_queue.h"
#include "base/task/sequence_manager/test/sequence_manager_for_test.h"
#include "base/task/sequence_manager/test/test_task_time_observer.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/scheduler/common/task_priority.h"
#include "third_party/blink/renderer/platform/scheduler/main_thread/main_thread_task_queue.h"

namespace blink {
namespace scheduler {

class IdleTimeEstimatorTest : public testing::Test {};

TEST_F(IdleTimeEstimatorTest, InitialTimeEstimateWithNoData) {}

TEST_F(IdleTimeEstimatorTest, BasicEstimation_SteadyState) {}

TEST_F(IdleTimeEstimatorTest, BasicEstimation_Variable) {}

TEST_F(IdleTimeEstimatorTest, NoIdleTime) {}

TEST_F(IdleTimeEstimatorTest, Clear) {}

TEST_F(IdleTimeEstimatorTest, Estimation_MultipleTasks) {}

TEST_F(IdleTimeEstimatorTest, Estimation_MultipleTasks_WithSingleObserver) {}

TEST_F(IdleTimeEstimatorTest, IgnoresNestedTasks) {}

}  // namespace scheduler
}  // namespace blink