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

Side by Side Diff: content/renderer/media/media_stream_dependency_factory_unittest.cc

Issue 272043003: Renamed MediaStreamDependencyFactory to PeerConnectionDependencyFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/renderer/media/mock_media_stream_dependency_factory.h"
6 #include "content/renderer/media/mock_web_rtc_peer_connection_handler_client.h"
7 #include "testing/gtest/include/gtest/gtest.h"
8 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h"
9
10 namespace content {
11
12 class MediaStreamDependencyFactoryTest : public ::testing::Test {
13 public:
14 virtual void SetUp() {
15 dependency_factory_.reset(new MockMediaStreamDependencyFactory());
16 }
17
18 protected:
19 scoped_ptr<MockMediaStreamDependencyFactory> dependency_factory_;
20 };
21
22 TEST_F(MediaStreamDependencyFactoryTest, CreateRTCPeerConnectionHandler) {
23 MockWebRTCPeerConnectionHandlerClient client_jsep;
24 scoped_ptr<blink::WebRTCPeerConnectionHandler> pc_handler(
25 dependency_factory_->CreateRTCPeerConnectionHandler(&client_jsep));
26 EXPECT_TRUE(pc_handler.get() != NULL);
27 }
28
29 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_dependency_factory.cc ('k') | content/renderer/media/media_stream_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698