#include "components/optimization_guide/core/prediction_model_fetch_timer.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "components/optimization_guide/core/optimization_guide_features.h"
#include "components/optimization_guide/core/optimization_guide_prefs.h"
#include "components/prefs/testing_pref_service.h"
#include "prediction_model_fetch_timer.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace optimization_guide {
class PredictionModelFetchTimerTestBase : public testing::Test { … };
class PredictionModelFetchTimerTest : public PredictionModelFetchTimerTestBase { … };
TEST_F(PredictionModelFetchTimerTest, FirstModelFetch) { … }
TEST_F(PredictionModelFetchTimerTest, FirstModelFetchSuccess) { … }
TEST_F(PredictionModelFetchTimerTest, FirstModelFetchFailure) { … }
TEST_F(PredictionModelFetchTimerTest, NewRegistrationFetchEnabled) { … }
}