#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "cc/metrics/predictor_jank_tracker.h"
#include <memory>
#include <string>
#include <vector>
#include "base/strings/string_number_conversions.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/test_trace_processor.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cc {
class PredictorJankTrackerTest : public testing::Test { … };
TEST_F(PredictorJankTrackerTest, BasicNonMissedUpperJankCase) { … }
TEST_F(PredictorJankTrackerTest, BasicNoMissedSlowUpperJankCase) { … }
TEST_F(PredictorJankTrackerTest, BasicMissedSlowUpperJankCase) { … }
TEST_F(PredictorJankTrackerTest, BasicMissedUpperJankCase) { … }
TEST_F(PredictorJankTrackerTest, NegativeNoJankFrame) { … }
TEST_F(PredictorJankTrackerTest, PositiveNoJankFrame) { … }
TEST_F(PredictorJankTrackerTest, BasicNonMissedLowerJankCase) { … }
TEST_F(PredictorJankTrackerTest, BasicMissedLowerJankCase) { … }
TEST_F(PredictorJankTrackerTest, BasicNonMissedUpperJankCaseWithTracing) { … }
TEST_F(PredictorJankTrackerTest, NoReportingDirectionChange) { … }
TEST_F(PredictorJankTrackerTest, JankyFramePercentageEmitted) { … }
TEST_F(PredictorJankTrackerTest, JankyFramePercentageNotEmitted) { … }
TEST_F(PredictorJankTrackerTest, JankyFramePercentageEmittedTwice) { … }
TEST_F(PredictorJankTrackerTest, JankyFramePercentageEmittedWhenReset) { … }
TEST_F(PredictorJankTrackerTest, VerifySqlThresholds) { … }
TEST_F(PredictorJankTrackerTest, VerifySqlPredictorJank) { … }
}