chromium/net/dns/host_resolver_internal_result_unittest.cc

// Copyright 2022 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/dns/host_resolver_internal_result.h"

#include <map>
#include <memory>
#include <optional>
#include <string>
#include <vector>

#include "base/json/json_reader.h"
#include "base/time/time.h"
#include "net/base/connection_endpoint_metadata.h"
#include "net/base/host_port_pair.h"
#include "net/base/ip_address.h"
#include "net/base/ip_endpoint.h"
#include "net/base/net_errors.h"
#include "net/dns/https_record_rdata.h"
#include "net/dns/public/dns_query_type.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

ElementsAre;
Optional;
Ref;

namespace net {
namespace {

TEST(HostResolverInternalResultTest, DeserializeMalformedValue) {}

TEST(HostResolverInternalResultTest, DataResult) {}

TEST(HostResolverInternalResultTest, CloneDataResult) {}

TEST(HostResolverInternalResultTest, RoundtripDataResultThroughSerialization) {}

// Expect results to serialize to a consistent base::Value format for
// consumption by NetLog and similar.
TEST(HostResolverInternalResultTest, SerializepDataResult) {}

TEST(HostResolverInternalResultTest, DeserializeMalformedDataValue) {}

TEST(HostResolverInternalResultTest, MetadataResult) {}

TEST(HostResolverInternalResultTest, CloneMetadataResult) {}

TEST(HostResolverInternalResultTest,
     RoundtripMetadataResultThroughSerialization) {}

// Expect results to serialize to a consistent base::Value format for
// consumption by NetLog and similar.
TEST(HostResolverInternalResultTest, SerializepMetadataResult) {}

TEST(HostResolverInternalResultTest, DeserializeMalformedMetadataValue) {}

TEST(HostResolverInternalResultTest, ErrorResult) {}

TEST(HostResolverInternalResultTest, CloneErrorResult) {}

TEST(HostResolverInternalResultTest, NoncachableErrorResult) {}

TEST(HostResolverInternalResultTest, RoundtripErrorResultThroughSerialization) {}

// Expect results to serialize to a consistent base::Value format for
// consumption by NetLog and similar.
TEST(HostResolverInternalResultTest, SerializepErrorResult) {}

TEST(HostResolverInternalResultTest, DeserializeMalformedErrorValue) {}

TEST(HostResolverInternalResultTest, AliasResult) {}

TEST(HostResolverInternalResultTest, CloneAliasResult) {}

TEST(HostResolverInternalResultTest, RoundtripAliasResultThroughSerialization) {}

// Expect results to serialize to a consistent base::Value format for
// consumption by NetLog and similar.
TEST(HostResolverInternalResultTest, SerializepAliasResult) {}

TEST(HostResolverInternalResultTest, DeserializeMalformedAliasValue) {}

}  // namespace
}  // namespace net