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

Side by Side Diff: remoting/protocol/jingle_messages_unittest.cc

Issue 2443903004: Add xmllite and xmpp sources to third_party/ (Closed)
Patch Set: Explicitly use webrtc_overrides/webrtc/base/logging.h Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « remoting/protocol/jingle_messages.cc ('k') | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/protocol/jingle_messages.h" 5 #include "remoting/protocol/jingle_messages.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "remoting/protocol/content_description.h" 12 #include "remoting/protocol/content_description.h"
13 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" 15 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
16 #include "third_party/webrtc/libjingle/xmpp/constants.h" 16 #include "third_party/libjingle_xmpp/xmpp/constants.h"
17 17
18 using buzz::QName; 18 using buzz::QName;
19 using buzz::XmlAttr; 19 using buzz::XmlAttr;
20 using buzz::XmlElement; 20 using buzz::XmlElement;
21 21
22 namespace remoting { 22 namespace remoting {
23 namespace protocol { 23 namespace protocol {
24 24
25 namespace { 25 namespace {
26 26
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 expected.AddElement(new XmlElement(QName("google:remoting", "sometag"))); 684 expected.AddElement(new XmlElement(QName("google:remoting", "sometag")));
685 expected.FirstElement()->SetBodyText("some-message"); 685 expected.FirstElement()->SetBodyText("some-message");
686 std::string error; 686 std::string error;
687 EXPECT_TRUE(VerifyXml(&expected, message.attachments.get(), &error)) 687 EXPECT_TRUE(VerifyXml(&expected, message.attachments.get(), &error))
688 << error; 688 << error;
689 } 689 }
690 } 690 }
691 691
692 } // namespace protocol 692 } // namespace protocol
693 } // namespace remoting 693 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/jingle_messages.cc ('k') | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698