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

Side by Side Diff: jingle/notifier/listener/xml_element_util_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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "jingle/notifier/listener/xml_element_util.h" 5 #include "jingle/notifier/listener/xml_element_util.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <sstream> 8 #include <sstream>
9 #include <string> 9 #include <string>
10 10
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "third_party/webrtc/libjingle/xmllite/qname.h" 12 #include "third_party/libjingle_xmpp/xmllite/qname.h"
13 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" 13 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
14 #include "third_party/webrtc/libjingle/xmllite/xmlprinter.h" 14 #include "third_party/libjingle_xmpp/xmllite/xmlprinter.h"
15 15
16 namespace buzz { 16 namespace buzz {
17 class XmlElement; 17 class XmlElement;
18 } 18 }
19 19
20 namespace notifier { 20 namespace notifier {
21 namespace { 21 namespace {
22 22
23 class XmlElementUtilTest : public testing::Test {}; 23 class XmlElementUtilTest : public testing::Test {};
24 24
(...skipping 22 matching lines...) Expand all
47 47
48 TEST_F(XmlElementUtilTest, MakeStringXmlElement) { 48 TEST_F(XmlElementUtilTest, MakeStringXmlElement) {
49 std::unique_ptr<buzz::XmlElement> string_xml_element( 49 std::unique_ptr<buzz::XmlElement> string_xml_element(
50 MakeStringXmlElement("foo", "bar")); 50 MakeStringXmlElement("foo", "bar"));
51 EXPECT_EQ("<foo xmlns=\"\" data=\"bar\"/>", 51 EXPECT_EQ("<foo xmlns=\"\" data=\"bar\"/>",
52 XmlElementToString(*string_xml_element)); 52 XmlElementToString(*string_xml_element));
53 } 53 }
54 54
55 } // namespace 55 } // namespace
56 } // namespace notifier 56 } // namespace notifier
OLDNEW
« no previous file with comments | « jingle/notifier/listener/xml_element_util.cc ('k') | jingle/notifier/listener/xmpp_push_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698