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

Unified Diff: webrtc/sdk/objc/Framework/UnitTests/RTCConfigurationTest.mm

Issue 1978233002: Polishing code to handle certificate generation failure in .mm files. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/sdk/objc/Framework/UnitTests/RTCConfigurationTest.mm
diff --git a/webrtc/sdk/objc/Framework/UnitTests/RTCConfigurationTest.mm b/webrtc/sdk/objc/Framework/UnitTests/RTCConfigurationTest.mm
index 9dec1152108ee9a293fb798554957e1954a771a5..a1f08b692e614ab85ebf940a3cc66f0c046b61b6 100644
--- a/webrtc/sdk/objc/Framework/UnitTests/RTCConfigurationTest.mm
+++ b/webrtc/sdk/objc/Framework/UnitTests/RTCConfigurationTest.mm
@@ -45,7 +45,8 @@
RTCContinualGatheringPolicyGatherContinually;
std::unique_ptr<webrtc::PeerConnectionInterface::RTCConfiguration>
- nativeConfig(config.nativeConfiguration);
+ nativeConfig(config.createNativeConfiguration);
tkchin_webrtc 2016/05/16 21:01:32 []
hbos 2016/05/17 09:05:03 Done.
+ EXPECT_TRUE(nativeConfig.get());
EXPECT_EQ(1u, nativeConfig->servers.size());
webrtc::PeerConnectionInterface::IceServer nativeServer =
nativeConfig->servers.front();

Powered by Google App Engine
This is Rietveld 408576698