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

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

Issue 1186083002: Ability to specify KeyType (RSA, ECDSA) in CreatePeerConnection (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: PeerConnectionFactoryInterface::CreatePeerConnection without KeyType Created 5 years, 6 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/peerconnectionfactory.cc ('k') | talk/app/webrtc/peerconnectionfactoryproxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/peerconnectionfactory_unittest.cc
diff --git a/talk/app/webrtc/peerconnectionfactory_unittest.cc b/talk/app/webrtc/peerconnectionfactory_unittest.cc
index 80885888522fbca032dc32853cc639214b634e68..25df8f08241ba6ed2982239de4816f63a6159697 100644
--- a/talk/app/webrtc/peerconnectionfactory_unittest.cc
+++ b/talk/app/webrtc/peerconnectionfactory_unittest.cc
@@ -159,7 +159,8 @@ TEST(PeerConnectionFactoryTestInternal, CreatePCUsingInternalModules) {
rtc::scoped_refptr<PeerConnectionInterface> pc(
factory->CreatePeerConnection(
- servers, NULL, NULL, new FakeIdentityService(), &observer));
+ servers, NULL, NULL, new FakeIdentityService(), rtc::KT_DEFAULT,
+ &observer));
EXPECT_TRUE(pc.get() != NULL);
}
@@ -181,6 +182,7 @@ TEST_F(PeerConnectionFactoryTest, CreatePCUsingIceServers) {
factory_->CreatePeerConnection(config, NULL,
allocator_factory_.get(),
new FakeIdentityService(),
+ rtc::KT_DEFAULT,
&observer_));
EXPECT_TRUE(pc.get() != NULL);
StunConfigurations stun_configs;
@@ -213,6 +215,7 @@ TEST_F(PeerConnectionFactoryTest, CreatePCUsingIceServersUrls) {
factory_->CreatePeerConnection(config, NULL,
allocator_factory_.get(),
new FakeIdentityService(),
+ rtc::KT_DEFAULT,
&observer_));
EXPECT_TRUE(pc.get() != NULL);
StunConfigurations stun_configs;
@@ -249,6 +252,7 @@ TEST_F(PeerConnectionFactoryTest, CreatePCUsingIceServersOldSignature) {
factory_->CreatePeerConnection(ice_servers, NULL,
allocator_factory_.get(),
new FakeIdentityService(),
+ rtc::KT_DEFAULT,
&observer_));
EXPECT_TRUE(pc.get() != NULL);
StunConfigurations stun_configs;
@@ -279,6 +283,7 @@ TEST_F(PeerConnectionFactoryTest, CreatePCUsingNoUsernameInUri) {
factory_->CreatePeerConnection(config, NULL,
allocator_factory_.get(),
new FakeIdentityService(),
+ rtc::KT_DEFAULT,
&observer_));
EXPECT_TRUE(pc.get() != NULL);
TurnConfigurations turn_configs;
@@ -300,6 +305,7 @@ TEST_F(PeerConnectionFactoryTest, CreatePCUsingTurnUrlWithTransportParam) {
factory_->CreatePeerConnection(config, NULL,
allocator_factory_.get(),
new FakeIdentityService(),
+ rtc::KT_DEFAULT,
&observer_));
EXPECT_TRUE(pc.get() != NULL);
TurnConfigurations turn_configs;
@@ -325,6 +331,7 @@ TEST_F(PeerConnectionFactoryTest, CreatePCUsingSecureTurnUrl) {
factory_->CreatePeerConnection(config, NULL,
allocator_factory_.get(),
new FakeIdentityService(),
+ rtc::KT_DEFAULT,
&observer_));
EXPECT_TRUE(pc.get() != NULL);
TurnConfigurations turn_configs;
@@ -362,6 +369,7 @@ TEST_F(PeerConnectionFactoryTest, CreatePCUsingIPLiteralAddress) {
factory_->CreatePeerConnection(config, NULL,
allocator_factory_.get(),
new FakeIdentityService(),
+ rtc::KT_DEFAULT,
&observer_));
EXPECT_TRUE(pc.get() != NULL);
StunConfigurations stun_configs;
« no previous file with comments | « talk/app/webrtc/peerconnectionfactory.cc ('k') | talk/app/webrtc/peerconnectionfactoryproxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698