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

Side by Side Diff: jingle/notifier/listener/push_notifications_subscribe_task_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/push_notifications_subscribe_task.h" 5 #include "jingle/notifier/listener/push_notifications_subscribe_task.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "jingle/notifier/listener/xml_element_util.h" 11 #include "jingle/notifier/listener/xml_element_util.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "webrtc/libjingle/xmpp/jid.h" 13 #include "third_party/libjingle_xmpp/xmpp/jid.h"
14 14
15 namespace buzz { 15 namespace buzz {
16 class XmlElement; 16 class XmlElement;
17 } 17 }
18 18
19 namespace notifier { 19 namespace notifier {
20 20
21 class PushNotificationsSubscribeTaskTest : public testing::Test { 21 class PushNotificationsSubscribeTaskTest : public testing::Test {
22 public: 22 public:
23 PushNotificationsSubscribeTaskTest() 23 PushNotificationsSubscribeTaskTest()
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 "<item channel=\"test_channel2\" from=\"from.test2.com\"/>" 55 "<item channel=\"test_channel2\" from=\"from.test2.com\"/>"
56 "</subscribe>" 56 "</subscribe>"
57 "</cli:iq>", 57 "</cli:iq>",
58 jid_.BareJid().Str().c_str(), task_id_.c_str()); 58 jid_.BareJid().Str().c_str(), task_id_.c_str());
59 59
60 EXPECT_EQ(expected_xml_string, XmlElementToString(*message)); 60 EXPECT_EQ(expected_xml_string, XmlElementToString(*message));
61 } 61 }
62 62
63 } // namespace notifier 63 } // namespace notifier
64 64
OLDNEW
« no previous file with comments | « jingle/notifier/listener/push_notifications_subscribe_task.cc ('k') | jingle/notifier/listener/send_ping_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698