chromium/third_party/blink/renderer/modules/peerconnection/thermal_resource_test.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.

#include "third_party/blink/renderer/modules/peerconnection/thermal_resource.h"

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/modules/peerconnection/testing/fake_resource_listener.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/testing/testing_platform_support_with_mock_scheduler.h"
#include "third_party/webrtc/api/adaptation/resource.h"

namespace blink {

namespace {

const int64_t kReportIntervalMs =;

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

}  // namespace

TEST_F(ThermalResourceTest, NoMeasurementsByDefault) {}

TEST_F(ThermalResourceTest, NominalTriggersUnderuse) {}

TEST_F(ThermalResourceTest, FairTriggersUnderuse) {}

TEST_F(ThermalResourceTest, SeriousTriggersOveruse) {}

TEST_F(ThermalResourceTest, CriticalTriggersOveruse) {}

TEST_F(ThermalResourceTest, UnknownDoesNotTriggerUsage) {}

TEST_F(ThermalResourceTest, MeasurementsRepeatEvery10Seconds) {}

TEST_F(ThermalResourceTest, NewMeasurementInvalidatesInFlightRepetition) {}

TEST_F(ThermalResourceTest, UnknownStopsRepeatedMeasurements) {}

TEST_F(ThermalResourceTest, UnregisteringStopsRepeatedMeasurements) {}

TEST_F(ThermalResourceTest, RegisteringLateTriggersRepeatedMeasurements) {}

}  // namespace blink