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

Unified Diff: remoting/host/host_status_sender_unittest.cc

Issue 86523005: Replace all usage of LOG(INFO) in Chromoting host with HOST_LOG to bypass the presubmit check. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renaming LOG_INFO to HOST_LOG Created 7 years, 1 month 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 | « remoting/host/host_status_sender.cc ('k') | remoting/host/input_injector_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_status_sender_unittest.cc
diff --git a/remoting/host/host_status_sender_unittest.cc b/remoting/host/host_status_sender_unittest.cc
index 11da627e57ce6bb6ae42758cfe84699232d0ac56..1b01293c0aa0d9aac67d1bfb2e4ef7174aa2607f 100644
--- a/remoting/host/host_status_sender_unittest.cc
+++ b/remoting/host/host_status_sender_unittest.cc
@@ -7,6 +7,7 @@
#include "base/strings/string_number_conversions.h"
#include "base/time/time.h"
#include "remoting/base/constants.h"
+#include "remoting/base/logging.h"
#include "remoting/base/rsa_key_pair.h"
#include "remoting/base/test_rsa_key_pair.h"
#include "remoting/host/host_exit_codes.h"
@@ -87,7 +88,7 @@ TEST_F(HostStatusSenderTest, SendOnlineStatus) {
scoped_ptr<XmlElement> stanza(sent_iq);
ASSERT_TRUE(stanza != NULL);
- LOG(INFO) << stanza->Str();
+ HOST_LOG << stanza->Str();
Sergey Ulanov 2013/11/26 19:56:28 I don't think we need this. It spams console from
weitao 2013/11/26 20:03:06 Done.
ValidateHostStatusStanza(stanza.get(), HostStatusSender::ONLINE);
}
@@ -116,7 +117,7 @@ TEST_F(HostStatusSenderTest, SendOfflineStatus) {
scoped_ptr<XmlElement> stanza(sent_iq);
ASSERT_TRUE(stanza != NULL);
- LOG(INFO) << stanza->Str();
+ HOST_LOG << stanza->Str();
ValidateHostStatusStanza(stanza.get(), HostStatusSender::OFFLINE);
}
@@ -194,7 +195,7 @@ void HostStatusSenderTest::ValidateSignature(
EXPECT_EQ(expected_signature, signature->BodyText());
int64 now = static_cast<int64>(base::Time::Now().ToDoubleT());
- LOG(INFO) << "SendHostStatus took " << now - time << " seconds.";
+ HOST_LOG << "SendHostStatus took " << now - time << " seconds.";
}
} // namespace remoting
« no previous file with comments | « remoting/host/host_status_sender.cc ('k') | remoting/host/input_injector_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698