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

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: Rebased 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 | « webrtc/api/java/src/org/webrtc/MediaStreamTrack.java ('k') | webrtc/api/mediastreaminterface.h » ('j') | no next file with comments »
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 7d9c60de65117ff975b816ed33f1d2ea7d94183a..dd63356e925469cbde9834dad824b526c6a48717 100644
--- a/webrtc/api/mediastream_unittest.cc
+++ b/webrtc/api/mediastream_unittest.cc
@@ -80,11 +80,6 @@ class MediaStreamTest: public testing::Test {
.Times(Exactly(1));
track->set_enabled(false);
EXPECT_FALSE(track->enabled());
-
- 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 | « webrtc/api/java/src/org/webrtc/MediaStreamTrack.java ('k') | webrtc/api/mediastreaminterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698