chromium/cc/trees/frame_rate_estimator_unittest.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "cc/trees/frame_rate_estimator.h"

#include <memory>

#include "base/test/scoped_feature_list.h"
#include "base/test/simple_test_tick_clock.h"
#include "base/test/test_simple_task_runner.h"
#include "base/time/time.h"
#include "cc/base/features.h"
#include "components/viz/common/frame_sinks/begin_frame_args.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace cc {
namespace {

class FrameRateEstimatorTest : public testing::Test {};

TEST_F(FrameRateEstimatorTest, ToggleEstimationEnabled) {}

TEST_F(FrameRateEstimatorTest, FrameHistoryUsed) {}

TEST_F(FrameRateEstimatorTest, InputPriorityMode) {}

TEST_F(FrameRateEstimatorTest, RafAtHalfFps) {}

TEST_F(FrameRateEstimatorTest, ThrottleWhenManyDidNotProduceFrame) {}

TEST_F(FrameRateEstimatorTest, ManyDidNotProduceFrameWhenInput) {}

}  // namespace
}  // namespace cc