#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 base {
HistogramTesterTest;
TEST_F(HistogramTesterTest, Scope) { … }
TEST_F(HistogramTesterTest, GetHistogramSamplesSinceCreationNotNull) { … }
TEST_F(HistogramTesterTest, TestUniqueSample) { … }
TEST_F(HistogramTesterTest, TestUniqueSample_TooManySamplesInActualBucket) { … }
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) { … }
}