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

Side by Side Diff: remoting/signaling/iq_sender_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/signaling/iq_sender.cc ('k') | remoting/signaling/log_to_server.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/signaling/iq_sender.h" 5 #include "remoting/signaling/iq_sender.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "base/strings/stringprintf.h" 13 #include "base/strings/stringprintf.h"
14 #include "remoting/signaling/mock_signal_strategy.h" 14 #include "remoting/signaling/mock_signal_strategy.h"
15 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" 17 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
18 #include "third_party/webrtc/libjingle/xmpp/constants.h" 18 #include "third_party/libjingle_xmpp/xmpp/constants.h"
19 19
20 using ::testing::_; 20 using ::testing::_;
21 using ::testing::DeleteArg; 21 using ::testing::DeleteArg;
22 using ::testing::InvokeWithoutArgs; 22 using ::testing::InvokeWithoutArgs;
23 using ::testing::NotNull; 23 using ::testing::NotNull;
24 using ::testing::Return; 24 using ::testing::Return;
25 using ::testing::SaveArg; 25 using ::testing::SaveArg;
26 26
27 using ::buzz::QName; 27 using ::buzz::QName;
28 using ::buzz::XmlElement; 28 using ::buzz::XmlElement;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 SendTestMessage(); 152 SendTestMessage();
153 }); 153 });
154 154
155 EXPECT_FALSE(FormatAndDeliverResponse("different_user@domain.com", nullptr)); 155 EXPECT_FALSE(FormatAndDeliverResponse("different_user@domain.com", nullptr));
156 156
157 EXPECT_CALL(callback_, OnReply(_, _)).Times(0); 157 EXPECT_CALL(callback_, OnReply(_, _)).Times(0);
158 base::RunLoop().RunUntilIdle(); 158 base::RunLoop().RunUntilIdle();
159 } 159 }
160 160
161 } // namespace remoting 161 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/signaling/iq_sender.cc ('k') | remoting/signaling/log_to_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698