OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2015 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 <stdint.h> | |
12 | |
13 #include <memory> | 11 #include <memory> |
14 | 12 |
15 #include "webrtc/base/asyncresolverinterface.h" | 13 #include "webrtc/base/asyncresolverinterface.h" |
| 14 #include "webrtc/base/basictypes.h" |
16 #include "webrtc/base/bind.h" | 15 #include "webrtc/base/bind.h" |
17 #include "webrtc/base/checks.h" | 16 #include "webrtc/base/checks.h" |
18 #include "webrtc/base/gunit.h" | 17 #include "webrtc/base/gunit.h" |
19 #include "webrtc/base/physicalsocketserver.h" | 18 #include "webrtc/base/physicalsocketserver.h" |
20 #include "webrtc/base/ssladapter.h" | 19 #include "webrtc/base/ssladapter.h" |
21 #include "webrtc/base/virtualsocketserver.h" | 20 #include "webrtc/base/virtualsocketserver.h" |
22 #include "webrtc/p2p/base/basicpacketsocketfactory.h" | 21 #include "webrtc/p2p/base/basicpacketsocketfactory.h" |
23 #include "webrtc/p2p/base/teststunserver.h" | 22 #include "webrtc/p2p/base/teststunserver.h" |
24 #include "webrtc/p2p/stunprober/stunprober.h" | 23 #include "webrtc/p2p/stunprober/stunprober.h" |
25 | 24 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 132 |
134 TEST_F(StunProberTest, NonSharedMode) { | 133 TEST_F(StunProberTest, NonSharedMode) { |
135 RunProber(false); | 134 RunProber(false); |
136 } | 135 } |
137 | 136 |
138 TEST_F(StunProberTest, SharedMode) { | 137 TEST_F(StunProberTest, SharedMode) { |
139 RunProber(true); | 138 RunProber(true); |
140 } | 139 } |
141 | 140 |
142 } // namespace stunprober | 141 } // namespace stunprober |
OLD | NEW |