chromium/net/first_party_sets/first_party_sets_validator_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 "net/first_party_sets/first_party_sets_validator.h"

#include <initializer_list>
#include <utility>
#include <vector>

#include "net/base/schemeful_site.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"

namespace net {

namespace {

const SchemefulSite kPrimary1(GURL("https://primary1.test"));
const SchemefulSite kPrimary1Cctld(GURL("https://primary1.ccltd"));
const SchemefulSite kPrimary2(GURL("https://primary2.test"));
const SchemefulSite kPrimary3(GURL("https://primary3.test"));
const SchemefulSite kAssociated1(GURL("https://associated1.test"));
const SchemefulSite kAssociated2(GURL("https://associated2.test"));
const SchemefulSite kAssociated3(GURL("https://associated3.test"));
const SchemefulSite kService1(GURL("https://service1.test"));
const SchemefulSite kService2(GURL("https://service2.test"));

struct SiteEntry {};

FirstPartySetsValidator ValidateSets(std::initializer_list<SiteEntry> sites) {}

}  // namespace

TEST(FirstPartySetsValidator, Default) {}

TEST(FirstPartySetsValidator, Valid) {}

TEST(FirstPartySetsValidator, Invalid_Singleton) {}

TEST(FirstPartySetsValidator, Invalid_Orphan) {}

TEST(FirstPartySetsValidator, Invalid_Nondisjoint) {}

}  // namespace net