chromium/services/network/public/cpp/proxy_config_mojom_traits_unittest.cc

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

#include "services/network/public/cpp/proxy_config_mojom_traits.h"
#include "services/network/public/cpp/proxy_config_with_annotation_mojom_traits.h"

#include "mojo/public/cpp/test_support/test_utils.h"
#include "net/base/proxy_chain.h"
#include "net/base/proxy_string_util.h"
#include "net/proxy_resolution/proxy_bypass_rules.h"
#include "net/proxy_resolution/proxy_config_with_annotation.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "services/network/public/mojom/proxy_config_with_annotation.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"

namespace network {
namespace {

// Tests that serializing and then deserializing |original_config| to send it
// over Mojo results in a ProxyConfigWithAnnotation that matches it.
bool TestProxyConfigRoundTrip(net::ProxyConfigWithAnnotation& original_config) {}

TEST(ProxyConfigTraitsTest, AutoDetect) {}

TEST(ProxyConfigTraitsTest, Direct) {}

TEST(ProxyConfigTraitsTest, FromSystem) {}

TEST(ProxyConfigTraitsTest, CustomPacURL) {}

TEST(ProxyConfigTraitsTest, MultiProxy) {}

TEST(ProxyConfigTraitsTest, ProxyRules) {}

TEST(ProxyConfigTraitsTest, BypassRules) {}

}  // namespace
}  // namespace network