chromium/third_party/blink/common/privacy_budget/identifiable_surface_unittest.cc

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

#include "third_party/blink/public/common/privacy_budget/identifiable_surface.h"

#include <functional>
#include <unordered_set>

#include "services/metrics/public/cpp/ukm_builders.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace blink {

// These metric names were chosen so that they result in a surface type of
// kReservedInternal. These are static_asserts because these expressions should
// resolve at compile-time.
static_assert;
static_assert;

TEST(IdentifiableSurfaceTest, FromTypeAndTokenIsConstexpr) {}

TEST(IdentifiableSurfaceTest, FromKeyIsConstexpr) {}

TEST(IdentifiableSurfaceTest, AllowsMaxTypeValue) {}

TEST(IdentifiableSurfaceTest, IdentifiableSurfaceHash) {}

TEST(IdentifiableSurfaceTest, Comparison) {}

}  // namespace blink