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