chromium/third_party/blink/common/interest_group/test/interest_group_test_utils_unittest.cc

// Copyright 2024 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/interest_group/test/interest_group_test_utils.h"

#include "build/build_config.h"
#include "build/buildflag.h"
#include "testing/gtest/include/gtest/gtest-spi.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/interest_group/test_interest_group_builder.h"
#include "url/gurl.h"
#include "url/origin.h"

// NOTE: There doesn't appear to be a way to easily retrieve SCOPED_TRACE()
// elements -- the SCOPED_TRACE() values could be tested if
// https://github.com/google/googletest/issues/4589 is resolved.

namespace {

constexpr char kTestOriginName[] =;
constexpr char kTestGroupName[] =;

#if BUILDFLAG(IS_WIN)
// TODO(crbug.com/41496717): Fix flaky tests on Windows.
#define MAYBE_InterestGroupTestUtilsTest
#else
#define MAYBE_InterestGroupTestUtilsTest
#endif
class MAYBE_InterestGroupTestUtilsTest : public testing::Test {};

TEST_F(MAYBE_InterestGroupTestUtilsTest, CompareSimple) {}

TEST_F(MAYBE_InterestGroupTestUtilsTest, CompareOptional) {}

TEST_F(MAYBE_InterestGroupTestUtilsTest, CompareOptionalVector) {}

TEST_F(MAYBE_InterestGroupTestUtilsTest, CompareOptionalMap) {}

TEST_F(MAYBE_InterestGroupTestUtilsTest, CompareSizeMismatchVector) {}

TEST_F(MAYBE_InterestGroupTestUtilsTest, CompareSizeMismatchMap) {}

TEST_F(MAYBE_InterestGroupTestUtilsTest, CompareElementVector) {}

TEST_F(MAYBE_InterestGroupTestUtilsTest, CompareElementMap) {}

TEST_F(MAYBE_InterestGroupTestUtilsTest, CompareDeep) {}

}  // namespace