chromium/third_party/blink/renderer/platform/network/blink_schemeful_site_mojom_traits_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_mojom_traits.h"

#include "mojo/public/cpp/test_support/test_utils.h"
#include "net/base/schemeful_site.h"
#include "services/network/public/mojom/schemeful_site.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"
#include "third_party/blink/renderer/platform/wtf/wtf_size_t.h"
#include "url/gurl.h"
#include "url/origin.h"

namespace blink {

TEST(BlinkSchemefulSiteMojomTraitsTest, SerializeDeserialize) {}

// Test that we can serialize from a BlinkSchemefulSite and deserialize to a
// SchemefulSite and vice-versa.
TEST(BlinkSchemefulSiteMojomTraitsTest, SerializeToAndFromEachType) {}

// Test that an invalid message fails to deserialize.
TEST(BlinkSchemefulSiteMojomTraitsTest, DeserializeFailure) {}

}  // namespace blink