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

Unified Diff: webrtc/api/mediastream_unittest.cc

Issue 1816143002: Removed MediaStreamTrackInterface::set_state (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@track_state_listen_on_source2
Patch Set: Created 4 years, 9 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 | « no previous file | webrtc/api/mediastreaminterface.h » ('j') | webrtc/api/peerconnection.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/mediastream_unittest.cc
diff --git a/webrtc/api/mediastream_unittest.cc b/webrtc/api/mediastream_unittest.cc
index c1899cb555c68e11dfb8b86ebd94e280aa0b0f40..dd63356e925469cbde9834dad824b526c6a48717 100644
--- a/webrtc/api/mediastream_unittest.cc
+++ b/webrtc/api/mediastream_unittest.cc
@@ -80,12 +80,6 @@ class MediaStreamTest: public testing::Test {
.Times(Exactly(1));
track->set_enabled(false);
EXPECT_FALSE(track->enabled());
-
- EXPECT_EQ(MediaStreamTrackInterface::kLive, track->state());
- EXPECT_CALL(observer, OnChanged())
- .Times(Exactly(1));
- track->set_state(MediaStreamTrackInterface::kEnded);
- EXPECT_EQ(MediaStreamTrackInterface::kEnded, track->state());
}
scoped_refptr<MediaStreamInterface> stream_;
« no previous file with comments | « no previous file | webrtc/api/mediastreaminterface.h » ('j') | webrtc/api/peerconnection.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698