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

Side by Side Diff: webrtc/pc/rtpsenderreceiver_unittest.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 years, 5 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/pc/rtpsender.cc ('k') | webrtc/pc/rtptransport.h » ('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
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <utility> 13 #include <utility>
14 14
15 #include "webrtc/base/gunit.h"
16 #include "webrtc/base/sigslot.h"
17 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" 15 #include "webrtc/logging/rtc_event_log/rtc_event_log.h"
18 #include "webrtc/media/base/fakemediaengine.h" 16 #include "webrtc/media/base/fakemediaengine.h"
19 #include "webrtc/media/base/mediachannel.h" 17 #include "webrtc/media/base/mediachannel.h"
20 #include "webrtc/media/engine/fakewebrtccall.h" 18 #include "webrtc/media/engine/fakewebrtccall.h"
21 #include "webrtc/p2p/base/faketransportcontroller.h" 19 #include "webrtc/p2p/base/faketransportcontroller.h"
22 #include "webrtc/pc/audiotrack.h" 20 #include "webrtc/pc/audiotrack.h"
23 #include "webrtc/pc/channelmanager.h" 21 #include "webrtc/pc/channelmanager.h"
24 #include "webrtc/pc/localaudiosource.h" 22 #include "webrtc/pc/localaudiosource.h"
25 #include "webrtc/pc/mediastream.h" 23 #include "webrtc/pc/mediastream.h"
26 #include "webrtc/pc/remoteaudiosource.h" 24 #include "webrtc/pc/remoteaudiosource.h"
27 #include "webrtc/pc/rtpreceiver.h" 25 #include "webrtc/pc/rtpreceiver.h"
28 #include "webrtc/pc/rtpsender.h" 26 #include "webrtc/pc/rtpsender.h"
29 #include "webrtc/pc/streamcollection.h" 27 #include "webrtc/pc/streamcollection.h"
30 #include "webrtc/pc/test/fakevideotracksource.h" 28 #include "webrtc/pc/test/fakevideotracksource.h"
31 #include "webrtc/pc/videotrack.h" 29 #include "webrtc/pc/videotrack.h"
32 #include "webrtc/pc/videotracksource.h" 30 #include "webrtc/pc/videotracksource.h"
31 #include "webrtc/rtc_base/gunit.h"
32 #include "webrtc/rtc_base/sigslot.h"
33 #include "webrtc/test/gmock.h" 33 #include "webrtc/test/gmock.h"
34 #include "webrtc/test/gtest.h" 34 #include "webrtc/test/gtest.h"
35 35
36 using ::testing::_; 36 using ::testing::_;
37 using ::testing::Exactly; 37 using ::testing::Exactly;
38 using ::testing::InvokeWithoutArgs; 38 using ::testing::InvokeWithoutArgs;
39 using ::testing::Return; 39 using ::testing::Return;
40 40
41 namespace { 41 namespace {
42 42
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 // Make sure the signal from "GetOnDestroyedSignal()" fires when the sender is 792 // Make sure the signal from "GetOnDestroyedSignal()" fires when the sender is
793 // destroyed, which is needed for the DTMF sender. 793 // destroyed, which is needed for the DTMF sender.
794 TEST_F(RtpSenderReceiverTest, TestOnDestroyedSignal) { 794 TEST_F(RtpSenderReceiverTest, TestOnDestroyedSignal) {
795 CreateAudioRtpSender(); 795 CreateAudioRtpSender();
796 EXPECT_FALSE(audio_sender_destroyed_signal_fired_); 796 EXPECT_FALSE(audio_sender_destroyed_signal_fired_);
797 audio_rtp_sender_ = nullptr; 797 audio_rtp_sender_ = nullptr;
798 EXPECT_TRUE(audio_sender_destroyed_signal_fired_); 798 EXPECT_TRUE(audio_sender_destroyed_signal_fired_);
799 } 799 }
800 800
801 } // namespace webrtc 801 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/pc/rtpsender.cc ('k') | webrtc/pc/rtptransport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698