OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/dns/dns_config_service_win.h" | 5 #include "net/dns/dns_config_service_win.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/memory/free_deleter.h" |
8 #include "base/win/windows_version.h" | 9 #include "base/win/windows_version.h" |
9 #include "net/base/ip_address.h" | 10 #include "net/base/ip_address.h" |
10 #include "net/dns/dns_protocol.h" | 11 #include "net/dns/dns_protocol.h" |
11 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
12 | 13 |
13 namespace net { | 14 namespace net { |
14 | 15 |
15 namespace { | 16 namespace { |
16 | 17 |
17 TEST(DnsConfigServiceWinTest, ParseSearchList) { | 18 TEST(DnsConfigServiceWinTest, ParseSearchList) { |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 EXPECT_EQ(t.unhandled_options, config.unhandled_options); | 444 EXPECT_EQ(t.unhandled_options, config.unhandled_options); |
444 EXPECT_EQ(t.have_nrpt, config.use_local_ipv6); | 445 EXPECT_EQ(t.have_nrpt, config.use_local_ipv6); |
445 } | 446 } |
446 } | 447 } |
447 | 448 |
448 | 449 |
449 } // namespace | 450 } // namespace |
450 | 451 |
451 } // namespace net | 452 } // namespace net |
452 | 453 |
OLD | NEW |