| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2009 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2009 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #include <algorithm> | 11 #include <algorithm> |
| 12 #include <memory> | 12 #include <memory> |
| 13 | 13 |
| 14 #include "webrtc/p2p/base/basicpacketsocketfactory.h" | 14 #include "webrtc/p2p/base/basicpacketsocketfactory.h" |
| 15 #include "webrtc/p2p/base/p2pconstants.h" | 15 #include "webrtc/p2p/base/p2pconstants.h" |
| 16 #include "webrtc/p2p/base/p2ptransportchannel.h" | 16 #include "webrtc/p2p/base/p2ptransportchannel.h" |
| 17 #include "webrtc/p2p/base/testrelayserver.h" | 17 #include "webrtc/p2p/base/testrelayserver.h" |
| 18 #include "webrtc/p2p/base/teststunserver.h" | 18 #include "webrtc/p2p/base/teststunserver.h" |
| 19 #include "webrtc/p2p/base/testturnserver.h" | 19 #include "webrtc/p2p/base/testturnserver.h" |
| 20 #include "webrtc/p2p/client/basicportallocator.h" | 20 #include "webrtc/p2p/client/basicportallocator.h" |
| 21 #include "webrtc/p2p/client/httpportallocator.h" | |
| 22 #include "webrtc/base/fakenetwork.h" | 21 #include "webrtc/base/fakenetwork.h" |
| 23 #include "webrtc/base/firewallsocketserver.h" | 22 #include "webrtc/base/firewallsocketserver.h" |
| 24 #include "webrtc/base/gunit.h" | 23 #include "webrtc/base/gunit.h" |
| 25 #include "webrtc/base/helpers.h" | 24 #include "webrtc/base/helpers.h" |
| 26 #include "webrtc/base/ipaddress.h" | 25 #include "webrtc/base/ipaddress.h" |
| 27 #include "webrtc/base/logging.h" | 26 #include "webrtc/base/logging.h" |
| 28 #include "webrtc/base/natserver.h" | 27 #include "webrtc/base/natserver.h" |
| 29 #include "webrtc/base/natsocketfactory.h" | 28 #include "webrtc/base/natsocketfactory.h" |
| 30 #include "webrtc/base/network.h" | 29 #include "webrtc/base/network.h" |
| 31 #include "webrtc/base/physicalsocketserver.h" | 30 #include "webrtc/base/physicalsocketserver.h" |
| (...skipping 1761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1793 for (const Candidate& candidate : candidates) { | 1792 for (const Candidate& candidate : candidates) { |
| 1794 // Expect only relay candidates now that the filter is applied. | 1793 // Expect only relay candidates now that the filter is applied. |
| 1795 EXPECT_EQ(std::string(RELAY_PORT_TYPE), candidate.type()); | 1794 EXPECT_EQ(std::string(RELAY_PORT_TYPE), candidate.type()); |
| 1796 // Expect that the raddr is emptied due to the CF_RELAY filter. | 1795 // Expect that the raddr is emptied due to the CF_RELAY filter. |
| 1797 EXPECT_EQ(candidate.related_address(), | 1796 EXPECT_EQ(candidate.related_address(), |
| 1798 rtc::EmptySocketAddressWithFamily(candidate.address().family())); | 1797 rtc::EmptySocketAddressWithFamily(candidate.address().family())); |
| 1799 } | 1798 } |
| 1800 } | 1799 } |
| 1801 | 1800 |
| 1802 } // namespace cricket | 1801 } // namespace cricket |
| OLD | NEW |