#include "components/reporting/metrics/metric_rate_controller.h"
#include <memory>
#include <string>
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "components/reporting/metrics/fakes/fake_reporting_settings.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace reporting {
namespace {
class MetricRateControllerTest : public ::testing::Test { … };
TEST_F(MetricRateControllerTest, InvalidPath) { … }
TEST_F(MetricRateControllerTest, TrustedCheck) { … }
TEST_F(MetricRateControllerTest, BaseRateSetting) { … }
TEST_F(MetricRateControllerTest, UpdateRateSetting) { … }
TEST_F(MetricRateControllerTest, RateSettingZero) { … }
}
}