#include "ui/base/prediction/prediction_metrics_handler.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 "ui/base/prediction/input_predictor_unittest_helpers.h"
#include "ui/base/prediction/prediction_unittest_helpers.h"
Bucket;
ElementsAre;
namespace ui {
namespace test {
namespace {
base::TimeTicks MillisecondsToTestTimeTicks(int64_t ms) { … }
}
class PredictionMetricsHandlerTest : public testing::Test { … };
TEST_F(PredictionMetricsHandlerTest, CanComputeMetricsTest) { … }
TEST_F(PredictionMetricsHandlerTest, InterpolationTest) { … }
void AddEvents(PredictionMetricsHandler* metrics_handler) { … }
TEST_F(PredictionMetricsHandlerTest, PredictionMetricTest) { … }
TEST_F(PredictionMetricsHandlerTest, PredictedTimePriorToReal) { … }
}
}