chromium/base/test/metrics/histogram_tester_unittest.cc

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

#include "base/test/metrics/histogram_tester.h"

#include <memory>
#include <string>

#include "base/metrics/histogram_macros.h"
#include "base/metrics/histogram_samples.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest-spi.h"
#include "testing/gtest/include/gtest/gtest.h"

ElementsAre;
IsEmpty;

namespace {

const char kHistogram1[] =;
const char kHistogram2[] =;
const char kHistogram3[] =;
const char kHistogram4[] =;
const char kHistogram5[] =;
const char kHistogram6[] =;

}  // namespace

namespace base {

HistogramTesterTest;

TEST_F(HistogramTesterTest, Scope) {}

TEST_F(HistogramTesterTest, GetHistogramSamplesSinceCreationNotNull) {}

TEST_F(HistogramTesterTest, TestUniqueSample) {}

// Verify that the expectation is violated if the bucket contains an incorrect
// number of samples.
TEST_F(HistogramTesterTest, TestUniqueSample_TooManySamplesInActualBucket) {}

// Verify that the expectation is violated if the bucket contains the correct
// number of samples but another bucket contains extra samples.
TEST_F(HistogramTesterTest, TestUniqueSample_OneExtraSampleInWrongBucket) {}

TEST_F(HistogramTesterTest, TestBucketsSample) {}

TEST_F(HistogramTesterTest, TestBucketsSampleWithScope) {}

TEST_F(HistogramTesterTest, TestGetAllSamples) {}

TEST_F(HistogramTesterTest, TestGetAllSamples_NoSamples) {}

TEST_F(HistogramTesterTest, TestGetTotalSum) {}

TEST_F(HistogramTesterTest, TestGetTotalCountsForPrefix) {}

TEST_F(HistogramTesterTest, TestGetAllChangedHistograms) {}

TEST_F(HistogramTesterTest, MissingHistogramMeansEmptyBuckets) {}

TEST_F(HistogramTesterTest, BucketsAre) {}

TEST_F(HistogramTesterTest, BucketsInclude) {}

}  // namespace base