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

Unified Diff: chrome/browser/ui/tabs/dock_info_unittest.cc

Issue 6300001: Clang: enable -Wbool-conversions and -Wunused-variables on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Formatting fix Created 9 years, 11 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
Index: chrome/browser/ui/tabs/dock_info_unittest.cc
diff --git a/chrome/browser/ui/tabs/dock_info_unittest.cc b/chrome/browser/ui/tabs/dock_info_unittest.cc
index ee4557e4cfa0d9fe32284473e4b218feb5988be9..4eff2780206e911b4ad65543cef1d494a9795df4 100644
--- a/chrome/browser/ui/tabs/dock_info_unittest.cc
+++ b/chrome/browser/ui/tabs/dock_info_unittest.cc
@@ -101,7 +101,7 @@ TEST(DockInfoTest, IsCloseToMonitorPoint) {
TEST(DockInfoTest, IsValidForPoint) {
DockInfo d;
- EXPECT_EQ(false, d.IsValidForPoint(gfx::Point(0, 0)));
+ EXPECT_FALSE(d.IsValidForPoint(gfx::Point(0, 0)));
d.set_monitor_bounds(gfx::Rect(0, 0, kPopupWidth, kPopupHeight));
d.set_hot_spot(gfx::Point(0, 0));
d.set_type(DockInfo::LEFT_HALF);
@@ -124,9 +124,9 @@ TEST(DockInfoTest, IsValidForPoint) {
TEST(DockInfoTest, equals) {
DockInfo d;
DockInfo dd;
- EXPECT_EQ(true, d.equals(dd));
+ EXPECT_TRUE(d.equals(dd));
d.set_type(DockInfo::MAXIMIZE);
- EXPECT_EQ(false, d.equals(dd));
+ EXPECT_FALSE(d.equals(dd));
}
TEST(DockInfoTest, CheckMonitorPoint) {

Powered by Google App Engine
This is Rietveld 408576698