chromium/net/base/proxy_chain_unittest.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40284755): Remove this and spanify to fix the errors.
#pragma allow_unsafe_buffers
#endif

#include "net/base/proxy_chain.h"

#include <optional>
#include <sstream>

#include "base/pickle.h"
#include "base/strings/string_number_conversions.h"
#include "base/test/gtest_util.h"
#include "net/base/proxy_server.h"
#include "net/base/proxy_string_util.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace net {

namespace {

TEST(ProxyChainTest, DefaultConstructor) {}

TEST(ProxyChainTest, ConstructorsAndAssignmentOperators) {}

TEST(ProxyChainTest, DirectProxy) {}

TEST(ProxyChainTest, Ostream) {}

TEST(ProxyChainTest, ToDebugString) {}

TEST(ProxyChainTest, FromSchemeHostAndPort) {}

TEST(ProxyChainTest, InvalidHostname) {}

TEST(ProxyChainTest, InvalidPort) {}

TEST(ProxyChainTest, SingleProxyChain) {}

TEST(ProxyChainTest, MultiProxyChain) {}

TEST(ProxyChainTest, SplitLast) {}

TEST(ProxyChainTest, Prefix) {}

TEST(ProxyChainTest, First) {}

TEST(ProxyChainTest, Last) {}

TEST(ProxyChainTest, IsForIpProtection) {}

TEST(ProxyChainTest, ForIpProtection) {}

TEST(ProxyChainTest, IsGetToProxyAllowed) {}

TEST(ProxyChainTest, IsValid) {}

TEST(ProxyChainTest, Unequal) {}

TEST(ProxyChainTest, Equal) {}

TEST(ProxyChainTest, PickleDirect) {}

TEST(ProxyChainTest, PickleOneProxy) {}

TEST(ProxyChainTest, PickleTwoProxies) {}

}  // namespace

}  // namespace net