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

Side by Side Diff: webrtc/pc/mediastream_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/mediastream.cc ('k') | webrtc/pc/mediastreamobserver.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 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2011 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 <string> 11 #include <string>
12 12
13 #include "webrtc/base/gunit.h"
14 #include "webrtc/base/refcount.h"
15 #include "webrtc/test/gmock.h"
16 #include "webrtc/test/gtest.h"
17 #include "webrtc/pc/audiotrack.h" 13 #include "webrtc/pc/audiotrack.h"
18 #include "webrtc/pc/mediastream.h" 14 #include "webrtc/pc/mediastream.h"
19 #include "webrtc/pc/test/fakevideotracksource.h" 15 #include "webrtc/pc/test/fakevideotracksource.h"
20 #include "webrtc/pc/videotrack.h" 16 #include "webrtc/pc/videotrack.h"
17 #include "webrtc/rtc_base/gunit.h"
18 #include "webrtc/rtc_base/refcount.h"
19 #include "webrtc/test/gmock.h"
20 #include "webrtc/test/gtest.h"
21 21
22 static const char kStreamLabel1[] = "local_stream_1"; 22 static const char kStreamLabel1[] = "local_stream_1";
23 static const char kVideoTrackId[] = "dummy_video_cam_1"; 23 static const char kVideoTrackId[] = "dummy_video_cam_1";
24 static const char kAudioTrackId[] = "dummy_microphone_1"; 24 static const char kAudioTrackId[] = "dummy_microphone_1";
25 25
26 using rtc::scoped_refptr; 26 using rtc::scoped_refptr;
27 using ::testing::Exactly; 27 using ::testing::Exactly;
28 28
29 namespace webrtc { 29 namespace webrtc {
30 30
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 ChangeTrack(video_track.get()); 145 ChangeTrack(video_track.get());
146 } 146 }
147 147
148 TEST_F(MediaStreamTest, ChangeAudioTrack) { 148 TEST_F(MediaStreamTest, ChangeAudioTrack) {
149 scoped_refptr<webrtc::AudioTrackInterface> audio_track( 149 scoped_refptr<webrtc::AudioTrackInterface> audio_track(
150 stream_->GetAudioTracks()[0]); 150 stream_->GetAudioTracks()[0]);
151 ChangeTrack(audio_track.get()); 151 ChangeTrack(audio_track.get());
152 } 152 }
153 153
154 } // namespace webrtc 154 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/pc/mediastream.cc ('k') | webrtc/pc/mediastreamobserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698