#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 {
const DohProviderEntry& GetDohProviderEntry(std::string_view provider) { … }
}
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) { … }
}