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

Side by Side Diff: remoting/host/host_status_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/host/host_status_sender.cc ('k') | remoting/host/it2me/it2me_host.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/host/host_status_sender.h" 5 #include "remoting/host/host_status_sender.h"
6 6
7 #include "base/strings/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.h"
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "remoting/base/constants.h" 9 #include "remoting/base/constants.h"
10 #include "remoting/base/logging.h" 10 #include "remoting/base/logging.h"
11 #include "remoting/base/rsa_key_pair.h" 11 #include "remoting/base/rsa_key_pair.h"
12 #include "remoting/base/test_rsa_key_pair.h" 12 #include "remoting/base/test_rsa_key_pair.h"
13 #include "remoting/host/host_exit_codes.h" 13 #include "remoting/host/host_exit_codes.h"
14 #include "remoting/jingle_glue/mock_objects.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/libjingle/source/talk/xmllite/xmlelement.h" 17 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h"
18 18
19 using buzz::QName; 19 using buzz::QName;
20 using buzz::XmlElement; 20 using buzz::XmlElement;
21 21
22 using testing::DoAll; 22 using testing::DoAll;
23 using testing::NotNull; 23 using testing::NotNull;
24 using testing::Return; 24 using testing::Return;
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::FromString(kTestRsaKeyPair); 188 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::FromString(kTestRsaKeyPair);
189 ASSERT_TRUE(key_pair.get()); 189 ASSERT_TRUE(key_pair.get());
190 190
191 std::string expected_signature = 191 std::string expected_signature =
192 key_pair->SignMessage(message); 192 key_pair->SignMessage(message);
193 EXPECT_EQ(expected_signature, signature->BodyText()); 193 EXPECT_EQ(expected_signature, signature->BodyText());
194 } 194 }
195 195
196 } // namespace remoting 196 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/host_status_sender.cc ('k') | remoting/host/it2me/it2me_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698