chromium/third_party/blink/renderer/platform/peerconnection/stats_collector_test.cc

// Copyright 2022 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/peerconnection/stats_collector.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace blink {

namespace {
constexpr float kMinProcessingTimeMs =;
constexpr float kExpectedP99ProcessingTimeMs =;
constexpr float kP99ToleranceMs =;
constexpr media::VideoCodecProfile kCodecProfile =;
constexpr int kHdWidth =;
constexpr int kHdHeight =;
constexpr int kFullHdWidth =;
constexpr int kFullHdHeight =;
constexpr int kFramerate =;
constexpr int kFramesPerMinute =;
constexpr int kKeyframeInterval =;

class StatsCollectorTest : public ::testing::Test {};

TEST_F(StatsCollectorTest, OneCallbackAfterMinNumberOfFrames) {}

TEST_F(StatsCollectorTest, AtLeastOneCallbackEveryMinute) {}

TEST_F(StatsCollectorTest, NewReportIfResolutionChanges) {}

TEST_F(StatsCollectorTest, NewReportIfHwAccelerationChanges) {}

TEST_F(StatsCollectorTest, NoCollectionAfter40000Frames) {}

}  // namespace
}  // namespace blink