chromium/third_party/blink/renderer/platform/network/blink_schemeful_site_test.cc

// Copyright 2021 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/renderer/platform/network/blink_schemeful_site.h"

#include "base/memory/scoped_refptr.h"
#include "net/base/schemeful_site.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/weborigin/security_origin.h"
#include "url/gurl.h"
#include "url/origin.h"

namespace blink {

// BlinkSchemefulSites created from the same "site" should match. Different
// sites should not.
TEST(BlinkSchemefulSiteTest, SameSiteEquality) {}

// BlinkSchemefulSites created from the  different origin constructors (for the
// same site) should match.
TEST(BlinkSchemefulSiteTest, ConstructorEquality) {}

TEST(BlinkSchemefulSiteTest, SchemefulSiteConstructor) {}

TEST(BlinkSchemefulSiteTest, TypecastOperator) {}

// Should construct a BlinkSchemeful site for a valid input but should fail for
// invalid inputs.
TEST(BlinkSchemefulSiteTest, FromWire) {}

TEST(BlinkSchemefulSiteTest, HashBlinkSchemefulSite) {}

TEST(BlinkSchemefulSiteTest, IsOpaque) {}

}  // namespace blink