| Index: webrtc/api/peerconnectioninterface_unittest.cc
|
| diff --git a/webrtc/api/peerconnectioninterface_unittest.cc b/webrtc/api/peerconnectioninterface_unittest.cc
|
| index 6faecde37b4dcf1656b0daa763ff3c0de06e561a..71233e06081fc5d703712aaf3b6b2bcdb3be61c9 100644
|
| --- a/webrtc/api/peerconnectioninterface_unittest.cc
|
| +++ b/webrtc/api/peerconnectioninterface_unittest.cc
|
| @@ -1066,28 +1066,6 @@
|
| session->flags() & cricket::PORTALLOCATOR_DISABLE_COSTLY_NETWORKS);
|
| }
|
|
|
| -// Test that the PeerConnection initializes the port allocator passed into it,
|
| -// and on the correct thread.
|
| -TEST_F(PeerConnectionInterfaceTest,
|
| - CreatePeerConnectionInitializesPortAllocator) {
|
| - rtc::Thread network_thread;
|
| - network_thread.Start();
|
| - rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> pc_factory(
|
| - webrtc::CreatePeerConnectionFactory(
|
| - &network_thread, rtc::Thread::Current(), rtc::Thread::Current(),
|
| - nullptr, nullptr, nullptr));
|
| - std::unique_ptr<cricket::FakePortAllocator> port_allocator(
|
| - new cricket::FakePortAllocator(&network_thread, nullptr));
|
| - cricket::FakePortAllocator* raw_port_allocator = port_allocator.get();
|
| - PeerConnectionInterface::RTCConfiguration config;
|
| - rtc::scoped_refptr<PeerConnectionInterface> pc(
|
| - pc_factory_->CreatePeerConnection(
|
| - config, nullptr, std::move(port_allocator), nullptr, &observer_));
|
| - // FakePortAllocator RTC_CHECKs that it's initialized on the right thread,
|
| - // so all we have to do here is check that it's initialized.
|
| - EXPECT_TRUE(raw_port_allocator->initialized());
|
| -}
|
| -
|
| TEST_F(PeerConnectionInterfaceTest, AddStreams) {
|
| CreatePeerConnection();
|
| AddVideoStream(kStreamLabel1);
|
|
|