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

Unified Diff: remoting/protocol/content_description_unittest.cc

Issue 1277093006: Enable QUIC support in chromoting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@quic_adapters
Patch Set: Created 5 years, 4 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 | « remoting/protocol/content_description.cc ('k') | remoting/protocol/fake_authenticator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/content_description_unittest.cc
diff --git a/remoting/protocol/content_description_unittest.cc b/remoting/protocol/content_description_unittest.cc
index 4f610fc2c24894f02f5771efa0162c6ca2b74ca8..eebc39e967f4874f3a89e0ba627fb63745cbc103 100644
--- a/remoting/protocol/content_description_unittest.cc
+++ b/remoting/protocol/content_description_unittest.cc
@@ -19,7 +19,8 @@ TEST(ContentDescriptionTest, FormatAndParse) {
scoped_ptr<CandidateSessionConfig> config =
CandidateSessionConfig::CreateDefault();
ContentDescription description(
- config.Pass(), Authenticator::CreateEmptyAuthenticatorMessage());
+ config.Pass(), Authenticator::CreateEmptyAuthenticatorMessage(),
+ "TestQuicConfigMessage");
scoped_ptr<buzz::XmlElement> xml(description.ToXml());
LOG(ERROR) << xml->Str();
scoped_ptr<ContentDescription> parsed(
@@ -33,6 +34,8 @@ TEST(ContentDescriptionTest, FormatAndParse) {
parsed->config()->event_configs());
EXPECT_TRUE(description.config()->audio_configs() ==
parsed->config()->audio_configs());
+ EXPECT_TRUE(description.quic_config_message() ==
+ parsed->quic_config_message());
}
// Verify that we can still parse configs with transports that we don't
« no previous file with comments | « remoting/protocol/content_description.cc ('k') | remoting/protocol/fake_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698