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

Unified Diff: webrtc/api/ortc/mediadescription_unittest.cc

Issue 2753343002: Add CryptoParams to webrtc::MediaSession. (Closed)
Patch Set: add an sdes_params unit test Created 3 years, 9 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 | « webrtc/api/ortc/mediadescription.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/ortc/mediadescription_unittest.cc
diff --git a/webrtc/api/ortc/mediadescription_unittest.cc b/webrtc/api/ortc/mediadescription_unittest.cc
index a17fde2accb9ecf354c0dc9b3e0fd369e1364565..d033a4eafb19acbeb4ba7803f0e4af9e5e8187a6 100644
--- a/webrtc/api/ortc/mediadescription_unittest.cc
+++ b/webrtc/api/ortc/mediadescription_unittest.cc
@@ -19,4 +19,12 @@ TEST_F(MediaDescriptionTest, CreateMediaDescription) {
MediaDescription m("a");
EXPECT_EQ("a", m.mid());
}
+
+TEST_F(MediaDescriptionTest, AddSdesParam) {
+ MediaDescription m("a");
+ m.sdes_params().push_back(cricket::CryptoParams());
+ const std::vector<cricket::CryptoParams>& params = m.sdes_params();
+ EXPECT_EQ(1u, params.size());
}
+
+} // namespace webrtc
« no previous file with comments | « webrtc/api/ortc/mediadescription.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698