// Copyright 2020 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/base/scheme_host_port_matcher.h" #include "testing/gtest/include/gtest/gtest.h" namespace net { namespace { TEST(SchemeHostPortMatcherTest, ParseMultipleRules) { … } TEST(SchemeHostPortMatcherTest, WithBadInputs) { … } // Tests that URLMatcher does not include logic specific to ProxyBypassRules. // * Should not implicitly bypass localhost or link-local addresses // * Should not match proxy bypass specific rules like <-loopback> and <local> // // Historically, SchemeHostPortMatcher was refactored out of ProxyBypassRules. // This test confirms that the layering separation is as expected. TEST(SchemeHostPortMatcherTest, DoesNotMimicProxyBypassRules) { … } } // namespace } // namespace net