chromium/chrome/browser/metrics/power/power_metrics_unittest.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 "chrome/browser/metrics/power/power_metrics.h"

#include "base/strings/strcat.h"
#include "base/test/metrics/histogram_tester.h"
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace {

struct HistogramSampleExpectation {};

// For each histogram named after the combination of prefixes from
// `expectations` and suffixes from `suffixes`, verifies that there is a
// unique sample `expectation.sample`.
void ExpectHistogramSamples(
    base::HistogramTester* histogram_tester,
    const std::vector<const char*>& suffixes,
    const std::vector<HistogramSampleExpectation>& expectations) {}

}  // namespace

TEST(PowerMetricsTest, ReportAggregatedProcessMetricsHistograms) {}

TEST(PowerMetricsTest, CalculateDischargeRateMilliwatts_mWh) {}

TEST(PowerMetricsTest, CalculateDischargeRateMilliwatts_mAh) {}