chromium/components/reporting/metrics/periodic_event_collector_unittest.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/reporting/metrics/periodic_event_collector.h"

#include <memory>
#include <optional>
#include <string>
#include <utility>
#include <vector>

#include "base/location.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#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 "components/reporting/metrics/fakes/fake_sampler.h"
#include "components/reporting/metrics/metric_rate_controller.h"
#include "components/reporting/proto/synced/metric_data.pb.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

FakeReportingSettings;
FakeSampler;
Eq;

namespace reporting {
namespace {

constexpr char kRateSettingPath[] =;

class FakeEventDetector : public PeriodicEventCollector::EventDetector {};

class PeriodicEventCollectorTest : public ::testing::Test {};

TEST_F(PeriodicEventCollectorTest, Default) {}
}  // namespace
}  // namespace reporting