#include "services/network/public/cpp/cors/origin_access_entry.h"
#include "services/network/public/mojom/cors_origin_pattern.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#include "url/origin.h"
namespace network::cors {
namespace {
TEST(OriginAccessEntryTest, IsSubdomainOfHost) { … }
TEST(OriginAccessEntryTest, PublicSuffixListTest) { … }
TEST(OriginAccessEntryTest, AllowSubdomainsTest) { … }
TEST(OriginAccessEntryTest, AllowRegistrableDomainsTest) { … }
TEST(OriginAccessEntryTest, AllowRegistrableDomainsTestWithDottedSuffix) { … }
TEST(OriginAccessEntryTest, DisallowSubdomainsTest) { … }
TEST(OriginAccessEntryTest, IPAddressTest) { … }
TEST(OriginAccessEntryTest, IPAddressMatchingTest) { … }
TEST(OriginAccessEntryTest, PortMatchingTest) { … }
TEST(OriginAccessEntryTest, CreateCorsOriginPattern) { … }
}
}