#include "net/base/host_mapping_rules.h"
#include <string.h>
#include "net/base/host_port_pair.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#include "url/third_party/mozilla/url_parse.h"
#include "url/url_canon.h"
#include "url/url_util.h"
namespace net {
namespace {
TEST(HostMappingRulesTest, SetRulesFromString) { … }
TEST(HostMappingRulesTest, PortSpecificMatching) { … }
TEST(HostMappingRulesTest, ParseInvalidRules) { … }
TEST(HostMappingRulesTest, RewritesUrl) { … }
TEST(HostMappingRulesTest, RewritesUrlToIpv6Literal) { … }
TEST(HostMappingRulesTest, RewritesUrlPreservingScheme) { … }
TEST(HostMappingRulesTest, RewritesFileUrl) { … }
TEST(HostMappingRulesTest, RewritesAnyStandardUrlWithPort) { … }
TEST(HostMappingRulesTest, RewritesAnyStandardUrlWithoutPort) { … }
TEST(HostMappingRulesTest, IgnoresUnmappedUrls) { … }
TEST(HostMappingRulesTest, IgnoresInvalidReplacementUrls) { … }
TEST(HostMappingRulesTest, NotFoundIgnoredAsInvalidUrl) { … }
}
}