Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Side by Side Diff: webrtc/api/peerconnection_unittest.cc

Issue 1956453003: Relanding: Implement RTCConfiguration.iceCandidatePoolSize. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixing uninitialized variable (noticed by msan) Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/api/peerconnection.cc ('k') | webrtc/api/peerconnectionfactory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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"
40 #include "webrtc/p2p/base/p2pconstants.h" 41 #include "webrtc/p2p/base/p2pconstants.h"
41 #include "webrtc/p2p/base/sessiondescription.h" 42 #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
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
OLDNEW
« no previous file with comments | « webrtc/api/peerconnection.cc ('k') | webrtc/api/peerconnectionfactory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698