chromium/net/reporting/reporting_garbage_collector_unittest.cc

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

#include "net/reporting/reporting_garbage_collector.h"

#include <optional>
#include <string>

#include "base/memory/raw_ptr.h"
#include "base/test/simple_test_tick_clock.h"
#include "base/time/time.h"
#include "base/timer/mock_timer.h"
#include "net/base/isolation_info.h"
#include "net/base/network_anonymization_key.h"
#include "net/reporting/reporting_cache.h"
#include "net/reporting/reporting_policy.h"
#include "net/reporting/reporting_report.h"
#include "net/reporting/reporting_target_type.h"
#include "net/reporting/reporting_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace net {
namespace {

class ReportingGarbageCollectorTest : public ReportingTestBase {};

// Make sure the garbage collector is actually present in the context.
TEST_F(ReportingGarbageCollectorTest, Created) {}

// Make sure that the garbage collection timer is started and stopped correctly.
TEST_F(ReportingGarbageCollectorTest, Timer) {}

TEST_F(ReportingGarbageCollectorTest, Report) {}

TEST_F(ReportingGarbageCollectorTest, ExpiredReport) {}

TEST_F(ReportingGarbageCollectorTest, FailedReport) {}

TEST_F(ReportingGarbageCollectorTest, ExpiredSource) {}

TEST_F(ReportingGarbageCollectorTest, ExpiredSourceWithPendingReports) {}

}  // namespace
}  // namespace net