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

Unified Diff: talk/app/webrtc/statscollector_unittest.cc

Issue 1397973002: Merging BaseSession code into WebRtcSession. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Merging with master (MediaStreamSignaling removal affected WebRtcSession). Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « talk/app/webrtc/statscollector.cc ('k') | talk/app/webrtc/webrtcsession.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/statscollector_unittest.cc
diff --git a/talk/app/webrtc/statscollector_unittest.cc b/talk/app/webrtc/statscollector_unittest.cc
index 49b992c17f295e587f895c884b311be54eb076ac..8b0a9edc1bf7b46114cb19089ee3947c9fcbff20 100644
--- a/talk/app/webrtc/statscollector_unittest.cc
+++ b/talk/app/webrtc/statscollector_unittest.cc
@@ -95,7 +95,7 @@ class MockWebRtcSession : public webrtc::WebRtcSession {
// track.
MOCK_METHOD2(GetLocalTrackIdBySsrc, bool(uint32_t, std::string*));
MOCK_METHOD2(GetRemoteTrackIdBySsrc, bool(uint32_t, std::string*));
- MOCK_METHOD1(GetTransportStats, bool(cricket::SessionStats*));
+ MOCK_METHOD1(GetTransportStats, bool(SessionStats*));
MOCK_METHOD2(GetLocalCertificate,
bool(const std::string& transport_name,
rtc::scoped_refptr<rtc::RTCCertificate>* certificate));
@@ -687,7 +687,7 @@ class StatsCollectorTest : public testing::Test {
transport_stats.transport_name = "audio";
transport_stats.channel_stats.push_back(channel_stats);
- cricket::SessionStats session_stats;
+ SessionStats session_stats;
session_stats.transport_stats[transport_stats.transport_name] =
transport_stats;
@@ -763,7 +763,7 @@ class StatsCollectorTest : public testing::Test {
MockWebRtcSession session_;
MockPeerConnection pc_;
FakeDataChannelProvider data_channel_provider_;
- cricket::SessionStats session_stats_;
+ SessionStats session_stats_;
rtc::scoped_refptr<webrtc::MediaStream> stream_;
rtc::scoped_refptr<webrtc::VideoTrack> track_;
rtc::scoped_refptr<FakeAudioTrack> audio_track_;
@@ -1376,7 +1376,7 @@ TEST_F(StatsCollectorTest, NoTransport) {
transport_stats.transport_name = "audio";
transport_stats.channel_stats.push_back(channel_stats);
- cricket::SessionStats session_stats;
+ SessionStats session_stats;
session_stats.transport_stats[transport_stats.transport_name] =
transport_stats;
@@ -1435,7 +1435,7 @@ TEST_F(StatsCollectorTest, NoCertificates) {
transport_stats.transport_name = "audio";
transport_stats.channel_stats.push_back(channel_stats);
- cricket::SessionStats session_stats;
+ SessionStats session_stats;
session_stats.transport_stats[transport_stats.transport_name] =
transport_stats;
« no previous file with comments | « talk/app/webrtc/statscollector.cc ('k') | talk/app/webrtc/webrtcsession.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698