chromium/net/dns/dns_util_unittest.cc

// Copyright 2009 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/dns_util.h"

#include <string_view>

#include "base/test/scoped_feature_list.h"
#include "net/dns/dns_test_util.h"
#include "net/dns/public/dns_over_https_config.h"
#include "net/dns/public/dns_protocol.h"
#include "net/dns/public/doh_provider_entry.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace net {

namespace {
// Returns the DoH provider entry in `DohProviderEntry::GetList()` that matches
// `provider`. Crashes if there is no matching entry.
const DohProviderEntry& GetDohProviderEntry(std::string_view provider) {}
}  // namespace

class DNSUtilTest : public testing::Test {};

TEST_F(DNSUtilTest, GetURLFromTemplateWithoutParameters) {}

TEST_F(DNSUtilTest, GetDohUpgradeServersFromDotHostname) {}

TEST_F(DNSUtilTest, GetDohUpgradeServersFromNameservers) {}

TEST_F(DNSUtilTest, GetDohProviderIdForHistogramFromServerConfig) {}

TEST_F(DNSUtilTest, GetDohProviderIdForHistogramFromNameserver) {}

}  // namespace net