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

Unified Diff: chrome/common/net/notifier/listener/subscribe_task_unittest.cc

Issue 2255007: New libjingle integrated to chrome. (Closed)
Patch Set: - Created 10 years, 7 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 | « chrome/common/net/notifier/listener/subscribe_task.cc ('k') | third_party/libjingle/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/notifier/listener/subscribe_task_unittest.cc
diff --git a/chrome/common/net/notifier/listener/subscribe_task_unittest.cc b/chrome/common/net/notifier/listener/subscribe_task_unittest.cc
index cda6b750de64d8777d373a2c039e2e6985cb1efa..fb455b2803116bbc2f7f2fd37442b7332fe6d58b 100644
--- a/chrome/common/net/notifier/listener/subscribe_task_unittest.cc
+++ b/chrome/common/net/notifier/listener/subscribe_task_unittest.cc
@@ -33,9 +33,10 @@ class SubscribeTaskTest : public testing::Test {
TEST_F(SubscribeTaskTest, MakeSubscriptionMessage) {
std::vector<std::string> subscribed_services_list;
+
scoped_ptr<buzz::XmlElement> message_without_services(
SubscribeTask::MakeSubscriptionMessage(subscribed_services_list,
- to_jid_bare_, task_id_));
+ to_jid_bare_, task_id_));
std::string expected_xml_string =
StringPrintf(
"<cli:iq type=\"get\" to=\"%s\" id=\"%s\" "
@@ -51,7 +52,7 @@ TEST_F(SubscribeTaskTest, MakeSubscriptionMessage) {
subscribed_services_list.push_back("test_service_url2");
scoped_ptr<buzz::XmlElement> message_with_services(
SubscribeTask::MakeSubscriptionMessage(subscribed_services_list,
- to_jid_bare_, task_id_));
+ to_jid_bare_, task_id_));
expected_xml_string =
StringPrintf(
"<cli:iq type=\"get\" to=\"%s\" id=\"%s\" "
« no previous file with comments | « chrome/common/net/notifier/listener/subscribe_task.cc ('k') | third_party/libjingle/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698