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

Unified Diff: ipc/ipc_sync_message_unittest.cc

Issue 6880166: Improving logging in /app, /base, /crypto and /ipc. Updating plain DCHECK() usages for DCHECK_EQ/LE/ (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updating to fit (expected, actual) order Created 9 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 | « ipc/ipc_sync_channel.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_sync_message_unittest.cc
diff --git a/ipc/ipc_sync_message_unittest.cc b/ipc/ipc_sync_message_unittest.cc
index 9a72aa3aba95655bbe2ffdd16ee7d6979390492d..1c18b94e1f1ded20af4bce57fbac2c1b4ee0e3f6 100644
--- a/ipc/ipc_sync_message_unittest.cc
+++ b/ipc/ipc_sync_message_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -38,7 +38,7 @@ class TestMessageReceiver {
}
void On_1_1(int in1, bool* out1) {
- DCHECK(in1 == 1);
+ DCHECK_EQ(1, in1);
*out1 = true;
}
@@ -49,7 +49,7 @@ class TestMessageReceiver {
}
void On_1_3(int in1, std::string* out1, int* out2, bool* out3) {
- DCHECK(in1 == 3);
+ DCHECK_EQ(3, in1);
*out1 = "1_3";
*out2 = 13;
*out3 = false;
@@ -94,7 +94,7 @@ class TestMessageReceiver {
void On_3_4(bool in1, int in2, std::string in3, int* out1, bool* out2,
std::string* out3, bool* out4) {
- DCHECK(in1 && in2 == 3 && in3 == "3_4");
+ DCHECK(in1 && in2 == 3 && in3 == "3_4");
*out1 = 34;
*out2 = true;
*out3 = "3_4";
« no previous file with comments | « ipc/ipc_sync_channel.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698