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

Side by Side Diff: remoting/signaling/iq_sender_unittest.cc

Issue 390983003: Remove remoting/jingle_glue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « remoting/signaling/iq_sender.cc ('k') | remoting/signaling/jingle_info_request.h » ('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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/memory/ref_counted.h" 6 #include "base/memory/ref_counted.h"
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "remoting/jingle_glue/iq_sender.h" 10 #include "remoting/signaling/iq_sender.h"
11 #include "remoting/jingle_glue/mock_objects.h" 11 #include "remoting/signaling/mock_signal_strategy.h"
12 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" 14 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h"
15 #include "third_party/libjingle/source/talk/xmpp/constants.h" 15 #include "third_party/libjingle/source/talk/xmpp/constants.h"
16 16
17 using ::testing::_; 17 using ::testing::_;
18 using ::testing::DeleteArg; 18 using ::testing::DeleteArg;
19 using ::testing::InvokeWithoutArgs; 19 using ::testing::InvokeWithoutArgs;
20 using ::testing::NotNull; 20 using ::testing::NotNull;
21 using ::testing::Return; 21 using ::testing::Return;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 QName("test:namespace", "response-body")); 132 QName("test:namespace", "response-body"));
133 response->AddElement(result); 133 response->AddElement(result);
134 134
135 EXPECT_CALL(callback_, OnReply(_, _)) 135 EXPECT_CALL(callback_, OnReply(_, _))
136 .Times(0); 136 .Times(0);
137 EXPECT_FALSE(sender_->OnSignalStrategyIncomingStanza(response.get())); 137 EXPECT_FALSE(sender_->OnSignalStrategyIncomingStanza(response.get()));
138 base::RunLoop().RunUntilIdle(); 138 base::RunLoop().RunUntilIdle();
139 } 139 }
140 140
141 } // namespace remoting 141 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/signaling/iq_sender.cc ('k') | remoting/signaling/jingle_info_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698