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

Unified Diff: content/renderer/media/rtc_peer_connection_handler_unittest.cc

Issue 11734027: Roll libjingle 254:257 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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 | « content/renderer/media/rtc_peer_connection_handler.cc ('k') | content/renderer/media/rtc_video_capturer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/rtc_peer_connection_handler_unittest.cc
diff --git a/content/renderer/media/rtc_peer_connection_handler_unittest.cc b/content/renderer/media/rtc_peer_connection_handler_unittest.cc
index c945609eab7e42ca102f50f314502f267a189ae0..7796424764ccd46bba17b2443be77fcad461f686 100644
--- a/content/renderer/media/rtc_peer_connection_handler_unittest.cc
+++ b/content/renderer/media/rtc_peer_connection_handler_unittest.cc
@@ -369,7 +369,7 @@ TEST_F(RTCPeerConnectionHandlerTest, OnStateChange) {
webrtc::PeerConnectionObserver::StateType state =
webrtc::PeerConnectionObserver::kReadyState;
mock_peer_connection_->SetReadyState(
- webrtc::PeerConnectionInterface::kOpening);
+ webrtc::PeerConnectionInterface::kHaveRemoteOffer);
pc_handler_->OnStateChange(state);
EXPECT_EQ(WebKit::WebRTCPeerConnectionHandlerClient::ReadyStateOpening,
mock_client_->ready_state());
@@ -379,11 +379,6 @@ TEST_F(RTCPeerConnectionHandlerTest, OnStateChange) {
EXPECT_EQ(WebKit::WebRTCPeerConnectionHandlerClient::ReadyStateActive,
mock_client_->ready_state());
mock_peer_connection_->SetReadyState(
- webrtc::PeerConnectionInterface::kClosing);
- pc_handler_->OnStateChange(state);
- EXPECT_EQ(WebKit::WebRTCPeerConnectionHandlerClient::ReadyStateClosing,
- mock_client_->ready_state());
- mock_peer_connection_->SetReadyState(
webrtc::PeerConnectionInterface::kClosed);
pc_handler_->OnStateChange(state);
EXPECT_EQ(WebKit::WebRTCPeerConnectionHandlerClient::ReadyStateClosed,
« no previous file with comments | « content/renderer/media/rtc_peer_connection_handler.cc ('k') | content/renderer/media/rtc_video_capturer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698