chromium/components/reporting/util/rate_limiter_slide_window_unittest.cc

// Copyright 2023 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/util/rate_limiter_slide_window.h"

#include <cstddef>

#include "base/rand_util.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace reporting {
namespace {

constexpr size_t kTotalSize =;
constexpr base::TimeDelta kTimeWindow =;
constexpr size_t kBucketCount =;
constexpr base::TimeDelta kBucket =;

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

TEST_F(RateLimiterSlideWindowTest, SingularEvent) {}

TEST_F(RateLimiterSlideWindowTest, SteadyEventsStream) {}

TEST_F(RateLimiterSlideWindowTest, RandomizedEventsStream) {}

TEST_F(RateLimiterSlideWindowTest, SparseEventsStream) {}
}  // namespace
}  // namespace reporting