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

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

Issue 1424803004: Revert of Adding the ability to change ICE servers through SetConfiguration. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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/peerconnection.cc ('k') | talk/app/webrtc/portallocatorfactory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/peerconnectioninterface_unittest.cc
diff --git a/talk/app/webrtc/peerconnectioninterface_unittest.cc b/talk/app/webrtc/peerconnectioninterface_unittest.cc
index 13fcbc8f14de58246b16cf10e0cfa04c75f729f4..63163fd651061625a05348658947cfe82e5f0d53 100644
--- a/talk/app/webrtc/peerconnectioninterface_unittest.cc
+++ b/talk/app/webrtc/peerconnectioninterface_unittest.cc
@@ -1660,23 +1660,6 @@
ASSERT_EQ(cricket::MD_INACTIVE, audio_desc->direction());
}
-// Test that we can use SetConfiguration to change the ICE servers of the
-// PortAllocator.
-TEST_F(PeerConnectionInterfaceTest, SetConfigurationChangesIceServers) {
- CreatePeerConnection();
-
- PeerConnectionInterface::RTCConfiguration config;
- PeerConnectionInterface::IceServer server;
- server.uri = "stun:test_hostname";
- config.servers.push_back(server);
- EXPECT_TRUE(pc_->SetConfiguration(config));
-
- cricket::FakePortAllocator* allocator =
- port_allocator_factory_->last_created_allocator();
- EXPECT_EQ(1u, allocator->stun_servers().size());
- EXPECT_EQ("test_hostname", allocator->stun_servers().begin()->hostname());
-}
-
// Test that PeerConnection::Close changes the states to closed and all remote
// tracks change state to ended.
TEST_F(PeerConnectionInterfaceTest, CloseAndTestStreamsAndStates) {
« no previous file with comments | « talk/app/webrtc/peerconnection.cc ('k') | talk/app/webrtc/portallocatorfactory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698