chromium/components/attribution_reporting/trigger_config_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/attribution_reporting/trigger_config.h"

#include <stdint.h>

#include <limits>
#include <utility>

#include "base/test/gmock_expected_support.h"
#include "base/test/values_test_util.h"
#include "base/time/time.h"
#include "base/types/expected.h"
#include "base/values.h"
#include "components/attribution_reporting/event_report_windows.h"
#include "components/attribution_reporting/max_event_level_reports.h"
#include "components/attribution_reporting/source_registration_error.mojom.h"
#include "components/attribution_reporting/source_type.mojom.h"
#include "components/attribution_reporting/test_utils.h"
#include "components/attribution_reporting/trigger_data_matching.mojom.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace attribution_reporting {
namespace {

SourceRegistrationError;
SourceType;
TriggerDataMatching;
ErrorIs;
ValueIs;
_;
AllOf;
ElementsAre;
IsEmpty;
IsNull;
IsTrue;
Key;
Optional;
Pair;
Property;
SizeIs;

TEST(TriggerDataMatchingTest, Parse) {}

TEST(TriggerDataMatchingTest, Serialize) {}

TEST(TriggerSpecsTest, Default) {}

TEST(TriggerSpecsTest, Parse) {}

TEST(TriggerSpecsTest, ToJson) {}

TEST(TriggerSpecsTest, Iterator) {}

TEST(TriggerSpecsTest, Find) {}

// Technically redundant with `TriggerSpecsTest.Find`, but included to
// demonstrate the expected behavior for real-world trigger specs, of which
// `TriggerSpecs()` can return a subset.
TEST(TriggerSpecsTest, Find_ModulusContiguous) {}

}  // namespace
}  // namespace attribution_reporting