#include "services/audio/input_glitch_counter.h"
#include <memory>
#include "base/test/bind.h"
#include "base/test/metrics/histogram_tester.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace audio {
namespace {
const std::string kDroppedData10sIntervals = …;
const std::string kMissedReadDeadline10sIntervals = …;
const std::string kDroppedDataBelow10s = …;
const std::string kMissedReadDeadlineBelow10s = …;
class InputGlitchCounterTest : public ::testing::Test { … };
TEST_F(InputGlitchCounterTest, IntervalHistograms) { … }
TEST_F(InputGlitchCounterTest, Below10sHistograms) { … }
TEST_F(InputGlitchCounterTest, BinaryGlitchMetricTrue) { … }
TEST_F(InputGlitchCounterTest, BinaryGlitchMetricFalse) { … }
}
}