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

Side by Side Diff: webrtc/p2p/base/transportcontroller_unittest.cc

Issue 3004503002: Renamed dtlstransportchannel.h/.cc/_unittest.cc. (Closed)
Patch Set: Rename dtlstransportchannel.h/.cc/_unittest.cc. Created 3 years, 4 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/p2p/base/transportcontroller.h ('k') | no next file » | 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 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 <map> 11 #include <map>
12 #include <memory> 12 #include <memory>
13 13
14 #include "webrtc/p2p/base/dtlstransportchannel.h" 14 #include "webrtc/p2p/base/dtlstransport.h"
15 #include "webrtc/p2p/base/fakeportallocator.h" 15 #include "webrtc/p2p/base/fakeportallocator.h"
16 #include "webrtc/p2p/base/faketransportcontroller.h" 16 #include "webrtc/p2p/base/faketransportcontroller.h"
17 #include "webrtc/p2p/base/p2ptransportchannel.h" 17 #include "webrtc/p2p/base/p2ptransportchannel.h"
18 #include "webrtc/p2p/base/portallocator.h" 18 #include "webrtc/p2p/base/portallocator.h"
19 #include "webrtc/p2p/base/transportcontroller.h" 19 #include "webrtc/p2p/base/transportcontroller.h"
20 #include "webrtc/rtc_base/fakesslidentity.h" 20 #include "webrtc/rtc_base/fakesslidentity.h"
21 #include "webrtc/rtc_base/gunit.h" 21 #include "webrtc/rtc_base/gunit.h"
22 #include "webrtc/rtc_base/helpers.h" 22 #include "webrtc/rtc_base/helpers.h"
23 #include "webrtc/rtc_base/sslidentity.h" 23 #include "webrtc/rtc_base/sslidentity.h"
24 #include "webrtc/rtc_base/thread.h" 24 #include "webrtc/rtc_base/thread.h"
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 ASSERT_TRUE(transport_controller_->SetLocalTransportDescription( 900 ASSERT_TRUE(transport_controller_->SetLocalTransportDescription(
901 "audio", ice_restart_local_desc, CA_OFFER, nullptr)); 901 "audio", ice_restart_local_desc, CA_OFFER, nullptr));
902 ASSERT_TRUE(transport_controller_->SetLocalTransportDescription( 902 ASSERT_TRUE(transport_controller_->SetLocalTransportDescription(
903 "video", local_desc, CA_OFFER, nullptr)); 903 "video", local_desc, CA_OFFER, nullptr));
904 // NeedsIceRestart should still be true for video. 904 // NeedsIceRestart should still be true for video.
905 EXPECT_FALSE(transport_controller_->NeedsIceRestart("audio")); 905 EXPECT_FALSE(transport_controller_->NeedsIceRestart("audio"));
906 EXPECT_TRUE(transport_controller_->NeedsIceRestart("video")); 906 EXPECT_TRUE(transport_controller_->NeedsIceRestart("video"));
907 } 907 }
908 908
909 } // namespace cricket { 909 } // namespace cricket {
OLDNEW
« no previous file with comments | « webrtc/p2p/base/transportcontroller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698