OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2012 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 |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "webrtc/api/test/fakeperiodicvideocapturer.h" | 30 #include "webrtc/api/test/fakeperiodicvideocapturer.h" |
31 #include "webrtc/api/test/fakevideotrackrenderer.h" | 31 #include "webrtc/api/test/fakevideotrackrenderer.h" |
32 #include "webrtc/api/test/mockpeerconnectionobservers.h" | 32 #include "webrtc/api/test/mockpeerconnectionobservers.h" |
33 #include "webrtc/base/gunit.h" | 33 #include "webrtc/base/gunit.h" |
34 #include "webrtc/base/physicalsocketserver.h" | 34 #include "webrtc/base/physicalsocketserver.h" |
35 #include "webrtc/base/ssladapter.h" | 35 #include "webrtc/base/ssladapter.h" |
36 #include "webrtc/base/sslstreamadapter.h" | 36 #include "webrtc/base/sslstreamadapter.h" |
37 #include "webrtc/base/thread.h" | 37 #include "webrtc/base/thread.h" |
38 #include "webrtc/base/virtualsocketserver.h" | 38 #include "webrtc/base/virtualsocketserver.h" |
39 #include "webrtc/media/engine/fakewebrtcvideoengine.h" | 39 #include "webrtc/media/engine/fakewebrtcvideoengine.h" |
40 #include "webrtc/p2p/base/fakeportallocator.h" | |
41 #include "webrtc/p2p/base/p2pconstants.h" | 40 #include "webrtc/p2p/base/p2pconstants.h" |
42 #include "webrtc/p2p/base/sessiondescription.h" | 41 #include "webrtc/p2p/base/sessiondescription.h" |
| 42 #include "webrtc/p2p/client/fakeportallocator.h" |
43 #include "webrtc/pc/mediasession.h" | 43 #include "webrtc/pc/mediasession.h" |
44 | 44 |
45 #define MAYBE_SKIP_TEST(feature) \ | 45 #define MAYBE_SKIP_TEST(feature) \ |
46 if (!(feature())) { \ | 46 if (!(feature())) { \ |
47 LOG(LS_INFO) << "Feature disabled... skipping"; \ | 47 LOG(LS_INFO) << "Feature disabled... skipping"; \ |
48 return; \ | 48 return; \ |
49 } | 49 } |
50 | 50 |
51 using cricket::ContentInfo; | 51 using cricket::ContentInfo; |
52 using cricket::FakeWebRtcVideoDecoder; | 52 using cricket::FakeWebRtcVideoDecoder; |
(...skipping 2146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2199 server.urls.push_back("turn:hostname2"); | 2199 server.urls.push_back("turn:hostname2"); |
2200 servers.push_back(server); | 2200 servers.push_back(server); |
2201 EXPECT_TRUE(webrtc::ParseIceServers(servers, &stun_servers_, &turn_servers_)); | 2201 EXPECT_TRUE(webrtc::ParseIceServers(servers, &stun_servers_, &turn_servers_)); |
2202 EXPECT_EQ(2U, turn_servers_.size()); | 2202 EXPECT_EQ(2U, turn_servers_.size()); |
2203 EXPECT_NE(turn_servers_[0].priority, turn_servers_[1].priority); | 2203 EXPECT_NE(turn_servers_[0].priority, turn_servers_[1].priority); |
2204 } | 2204 } |
2205 | 2205 |
2206 #endif // if !defined(THREAD_SANITIZER) | 2206 #endif // if !defined(THREAD_SANITIZER) |
2207 | 2207 |
2208 } // namespace | 2208 } // namespace |
OLD | NEW |