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

Unified Diff: remoting/jingle_glue/iq_request_unittest.cc

Issue 7809003: Simplify IqRequest interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix windows Created 9 years, 3 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/jingle_glue/iq_request.cc ('k') | remoting/jingle_glue/javascript_iq_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/jingle_glue/iq_request_unittest.cc
diff --git a/remoting/jingle_glue/iq_request_unittest.cc b/remoting/jingle_glue/iq_request_unittest.cc
index 4b323fb3e3fc020ec51e9275b09a88789247b9da..d7eeda60931feb2ec8a99ef1d652877cc49cb9c6 100644
--- a/remoting/jingle_glue/iq_request_unittest.cc
+++ b/remoting/jingle_glue/iq_request_unittest.cc
@@ -31,7 +31,8 @@ TEST(IqRequestTest, MakeIqStanza) {
buzz::XmlElement* iq_body =
new buzz::XmlElement(buzz::QName(kNamespace, kBodyTag));
scoped_ptr<buzz::XmlElement> stanza(
- IqRequest::MakeIqStanza(kType, kTo, iq_body, kMessageId));
+ IqRequest::MakeIqStanza(kType, kTo, iq_body));
+ stanza->AddAttr(buzz::QName("", "id"), kMessageId);
EXPECT_EQ(expected_xml_string, stanza->Str());
}
« no previous file with comments | « remoting/jingle_glue/iq_request.cc ('k') | remoting/jingle_glue/javascript_iq_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698