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

Issue 2748013002: Avoid EXPECT_EQ(false, _) in a chromeos unittest. (Closed)

Created:
3 years, 9 months ago by kinaba
Modified:
3 years, 9 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, hashimoto+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid EXPECT_EQ(false, _) in a chromeos unittest. EXPECT_EQ(false, _) is known to hit a GCC error, EXPECT_FALSE(_) is safer and direct: https://github.com/google/googletest/issues/322#issuecomment-125645145. It is causing compilation failure on the unittest inside simplechrome for some boards. Well, probably nobody expect me may be doing that, but I still think it is nicer to keep it compiling, as long as it can be done in a simple change. BUG=none TEST=`ninja chromeos_unittests` in simplechrome environment. Review-Url: https://codereview.chromium.org/2748013002 Cr-Commit-Position: refs/heads/master@{#456624} Committed: https://chromium.googlesource.com/chromium/src/+/df55352a0fb066e4bbf13dea774be63fd2d39aa9

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chromeos/dbus/fake_auth_policy_client_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
kinaba
PTAL
3 years, 9 months ago (2017-03-14 04:32:11 UTC) #4
Roman Sorokin (ftl)
lgtm
3 years, 9 months ago (2017-03-14 04:35:03 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2748013002/1
3 years, 9 months ago (2017-03-14 04:47:56 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-03-14 04:53:36 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/df55352a0fb066e4bbf13dea774b...

Powered by Google App Engine
This is Rietveld 408576698