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

Side by Side Diff: remoting/host/server_log_entry_host_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/server_log_entry_host.cc ('k') | remoting/host/session_manager_factory.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 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 "base/memory/scoped_ptr.h" 5 #include "base/memory/scoped_ptr.h"
6 #include "base/strings/stringize_macros.h" 6 #include "base/strings/stringize_macros.h"
7 #include "remoting/host/server_log_entry_host.h" 7 #include "remoting/host/server_log_entry_host.h"
8 #include "remoting/jingle_glue/server_log_entry.h" 8 #include "remoting/signaling/server_log_entry.h"
9 #include "remoting/jingle_glue/server_log_entry_unittest.h" 9 #include "remoting/signaling/server_log_entry_unittest.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" 11 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h"
12 12
13 using buzz::XmlAttr; 13 using buzz::XmlAttr;
14 using buzz::XmlElement; 14 using buzz::XmlElement;
15 15
16 namespace remoting { 16 namespace remoting {
17 17
18 TEST(ServerLogEntryHostTest, MakeForSessionStateChange) { 18 TEST(ServerLogEntryHostTest, MakeForSessionStateChange) {
19 scoped_ptr<ServerLogEntry> entry(MakeLogEntryForSessionStateChange(true)); 19 scoped_ptr<ServerLogEntry> entry(MakeLogEntryForSessionStateChange(true));
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 key_value_pairs["role"] = "host"; 92 key_value_pairs["role"] = "host";
93 key_value_pairs["event-name"] = "session-state"; 93 key_value_pairs["event-name"] = "session-state";
94 key_value_pairs["session-state"] = "connected"; 94 key_value_pairs["session-state"] = "connected";
95 key_value_pairs["mode"] = "me2me"; 95 key_value_pairs["mode"] = "me2me";
96 std::set<std::string> keys; 96 std::set<std::string> keys;
97 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) << 97 ASSERT_TRUE(VerifyStanza(key_value_pairs, keys, stanza.get(), &error)) <<
98 error; 98 error;
99 } 99 }
100 100
101 } // namespace remoting 101 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/server_log_entry_host.cc ('k') | remoting/host/session_manager_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698