chromium/third_party/blink/renderer/modules/peerconnection/thermal_uma_listener_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_uma_listener.h"

#include <memory>

#include "base/test/metrics/histogram_tester.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/peerconnection/peer_connection_tracker.mojom-blink.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"

namespace blink {

namespace {

const base::TimeDelta kStatsReportingPeriod =;

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

}  // namespace

Bucket;

TEST_F(ThermalUmaListenerTest, NoMeasurementsHasNoHistograms) {}

TEST_F(ThermalUmaListenerTest, HistogramAfterSignal) {}

TEST_F(ThermalUmaListenerTest, DeletionCancelsListener) {}

TEST_F(ThermalUmaListenerTest, RecordsMostRecentState) {}

TEST_F(ThermalUmaListenerTest, HistogramBucketsIncludesPreviousPeriod) {}

}  // namespace blink