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

Unified Diff: chrome/browser/chromeos/input_method/xkeyboard_unittest.cc

Issue 10109001: Replace all LOGs in input_method/, except two user-facing errors, to DVLOG(1). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/input_method/xkeyboard.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/input_method/xkeyboard_unittest.cc
diff --git a/chrome/browser/chromeos/input_method/xkeyboard_unittest.cc b/chrome/browser/chromeos/input_method/xkeyboard_unittest.cc
index b78d13f1a6df1435bf40d5502b90880cc677007d..814766e59b8975afcf863f5a15d0da1d4dc4b7c7 100644
--- a/chrome/browser/chromeos/input_method/xkeyboard_unittest.cc
+++ b/chrome/browser/chromeos/input_method/xkeyboard_unittest.cc
@@ -197,8 +197,8 @@ TEST_F(XKeyboardTest, TestCreateFullXkbLayoutNameKeepCapsLock) {
kLeftControlKey)).c_str());
EXPECT_STREQ("gb(extd)+chromeos(disabled_disabled_disabled_keepralt)",
xkey_->CreateFullXkbLayoutName(
- "gb(extd)",
- GetMap(kVoidKey, kVoidKey, kVoidKey)).c_str());
+ "gb(extd)",
+ GetMap(kVoidKey, kVoidKey, kVoidKey)).c_str());
}
TEST_F(XKeyboardTest, TestCreateFullXkbLayoutNameKeepAlt) {
@@ -237,7 +237,7 @@ TEST_F(XKeyboardTest, TestSetCapsLockEnabled) {
// Do not fail the test to allow developers to run unit_tests without an X
// server (e.g. via ssh). Note that both try bots and waterfall always have
// an X server for running browser_tests.
- LOG(INFO) << "X server is not available. Skip the test.";
+ DVLOG(1) << "X server is not available. Skip the test.";
return;
}
const bool initial_lock_state = xkey_->CapsLockIsEnabled();
@@ -254,7 +254,7 @@ TEST_F(XKeyboardTest, TestSetCapsLockEnabled) {
TEST_F(XKeyboardTest, TestSetNumLockEnabled) {
if (!DisplayAvailable()) {
- LOG(INFO) << "X server is not available. Skip the test.";
+ DVLOG(1) << "X server is not available. Skip the test.";
return;
}
const unsigned int num_lock_mask = xkey_->GetNumLockMask();
@@ -274,7 +274,7 @@ TEST_F(XKeyboardTest, TestSetNumLockEnabled) {
TEST_F(XKeyboardTest, TestSetCapsLockAndNumLockAtTheSameTime) {
if (!DisplayAvailable()) {
- LOG(INFO) << "X server is not available. Skip the test.";
+ DVLOG(1) << "X server is not available. Skip the test.";
return;
}
const unsigned int num_lock_mask = xkey_->GetNumLockMask();
@@ -350,7 +350,7 @@ TEST_F(XKeyboardTest, TestContainsModifierKeyAsReplacement) {
TEST_F(XKeyboardTest, TestSetAutoRepeatEnabled) {
if (!DisplayAvailable()) {
- LOG(INFO) << "X server is not available. Skip the test.";
+ DVLOG(1) << "X server is not available. Skip the test.";
return;
}
const bool state = XKeyboard::GetAutoRepeatEnabledForTesting();
@@ -363,7 +363,7 @@ TEST_F(XKeyboardTest, TestSetAutoRepeatEnabled) {
TEST_F(XKeyboardTest, TestSetAutoRepeatRate) {
if (!DisplayAvailable()) {
- LOG(INFO) << "X server is not available. Skip the test.";
+ DVLOG(1) << "X server is not available. Skip the test.";
return;
}
AutoRepeatRate rate;
« no previous file with comments | « chrome/browser/chromeos/input_method/xkeyboard.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698