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

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

Issue 1610243002: Move talk/app/webrtc to webrtc/api (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Removed processing of api.gyp for Chromium builds Created 4 years, 10 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/peerconnection_unittests.isolate » ('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 * libjingle 2 * libjingle
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 15 matching lines...) Expand all
26 */ 26 */
27 27
28 #include <stdio.h> 28 #include <stdio.h>
29 29
30 #include <algorithm> 30 #include <algorithm>
31 #include <list> 31 #include <list>
32 #include <map> 32 #include <map>
33 #include <utility> 33 #include <utility>
34 #include <vector> 34 #include <vector>
35 35
36 #include "talk/app/webrtc/dtmfsender.h"
37 #include "talk/app/webrtc/fakemetricsobserver.h"
38 #include "talk/app/webrtc/localaudiosource.h"
39 #include "talk/app/webrtc/mediastreaminterface.h"
40 #include "talk/app/webrtc/peerconnection.h"
41 #include "talk/app/webrtc/peerconnectionfactory.h"
42 #include "talk/app/webrtc/peerconnectioninterface.h"
43 #include "talk/app/webrtc/test/fakeaudiocapturemodule.h"
44 #include "talk/app/webrtc/test/fakeconstraints.h"
45 #include "talk/app/webrtc/test/fakedtlsidentitystore.h"
46 #include "talk/app/webrtc/test/fakeperiodicvideocapturer.h"
47 #include "talk/app/webrtc/test/fakevideotrackrenderer.h"
48 #include "talk/app/webrtc/test/mockpeerconnectionobservers.h"
49 #include "talk/app/webrtc/videosourceinterface.h"
50 #include "talk/session/media/mediasession.h" 36 #include "talk/session/media/mediasession.h"
37 #include "webrtc/api/dtmfsender.h"
38 #include "webrtc/api/fakemetricsobserver.h"
39 #include "webrtc/api/localaudiosource.h"
40 #include "webrtc/api/mediastreaminterface.h"
41 #include "webrtc/api/peerconnection.h"
42 #include "webrtc/api/peerconnectionfactory.h"
43 #include "webrtc/api/peerconnectioninterface.h"
44 #include "webrtc/api/test/fakeaudiocapturemodule.h"
45 #include "webrtc/api/test/fakeconstraints.h"
46 #include "webrtc/api/test/fakedtlsidentitystore.h"
47 #include "webrtc/api/test/fakeperiodicvideocapturer.h"
48 #include "webrtc/api/test/fakevideotrackrenderer.h"
49 #include "webrtc/api/test/mockpeerconnectionobservers.h"
50 #include "webrtc/api/videosourceinterface.h"
51 #include "webrtc/base/gunit.h" 51 #include "webrtc/base/gunit.h"
52 #include "webrtc/base/physicalsocketserver.h" 52 #include "webrtc/base/physicalsocketserver.h"
53 #include "webrtc/base/scoped_ptr.h" 53 #include "webrtc/base/scoped_ptr.h"
54 #include "webrtc/base/ssladapter.h" 54 #include "webrtc/base/ssladapter.h"
55 #include "webrtc/base/sslstreamadapter.h" 55 #include "webrtc/base/sslstreamadapter.h"
56 #include "webrtc/base/thread.h" 56 #include "webrtc/base/thread.h"
57 #include "webrtc/base/virtualsocketserver.h" 57 #include "webrtc/base/virtualsocketserver.h"
58 #include "webrtc/media/webrtc/fakewebrtcvideoengine.h" 58 #include "webrtc/media/webrtc/fakewebrtcvideoengine.h"
59 #include "webrtc/p2p/base/constants.h" 59 #include "webrtc/p2p/base/constants.h"
60 #include "webrtc/p2p/base/sessiondescription.h" 60 #include "webrtc/p2p/base/sessiondescription.h"
(...skipping 1959 matching lines...) Expand 10 before | Expand all | Expand 10 after
2020 PeerConnectionInterface::IceServer server; 2020 PeerConnectionInterface::IceServer server;
2021 server.urls.push_back("turn:hostname"); 2021 server.urls.push_back("turn:hostname");
2022 server.urls.push_back("turn:hostname2"); 2022 server.urls.push_back("turn:hostname2");
2023 servers.push_back(server); 2023 servers.push_back(server);
2024 EXPECT_TRUE(webrtc::ParseIceServers(servers, &stun_servers_, &turn_servers_)); 2024 EXPECT_TRUE(webrtc::ParseIceServers(servers, &stun_servers_, &turn_servers_));
2025 EXPECT_EQ(2U, turn_servers_.size()); 2025 EXPECT_EQ(2U, turn_servers_.size());
2026 EXPECT_NE(turn_servers_[0].priority, turn_servers_[1].priority); 2026 EXPECT_NE(turn_servers_[0].priority, turn_servers_[1].priority);
2027 } 2027 }
2028 2028
2029 #endif // if !defined(THREAD_SANITIZER) 2029 #endif // if !defined(THREAD_SANITIZER)
OLDNEW
« no previous file with comments | « webrtc/api/peerconnection.cc ('k') | webrtc/api/peerconnection_unittests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698