chromium/components/reporting/util/rate_limiter_leaky_bucket_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_leaky_bucket.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 kMaxLevel =;
constexpr base::TimeDelta kFillingTime =;
constexpr base::TimeDelta kFillingPeriod =;
constexpr size_t kEventCount =;

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

TEST_F(RateLimiterLeakyBucketTest, SingularEvent) {}

TEST_F(RateLimiterLeakyBucketTest, SteadyEventsStream) {}

TEST_F(RateLimiterLeakyBucketTest, RandomizedEventsStream) {}

TEST_F(RateLimiterLeakyBucketTest, LargeEventsStream) {}
}  // namespace
}  // namespace reporting