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

Issue 10673010: Don't rely on undefined macro behaviour in unit tests. (Closed)

Created:
8 years, 6 months ago by Ryan Sleevi
Modified:
8 years, 6 months ago
CC:
chromium-reviews, erikwright (departed), brettw-cc_chromium.org
Visibility:
Public.

Description

Don't rely on undefined macro behaviour in unit tests. Ensure that the macros properly adhere to C++03 16.1.4's requirements for evaluation. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144361

Patch Set 1 #

Total comments: 1

Patch Set 2 : Review nit #

Patch Set 3 : ASSERT_DEBUG_DEATH->ASSERT_DEATH #

Patch Set 4 : Fix pre-existing ODR violation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -3 lines) Patch
M base/threading/thread_checker_unittest.cc View 1 2 3 4 chunks +11 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Ryan Sleevi
jar: I think you'll appreciate this C++ edge case. The discussion around it was mostly ...
8 years, 6 months ago (2012-06-26 22:49:33 UTC) #1
jar (doing other things)
Amazing piece of code (I can't believe folks wrote this code historically with a straight ...
8 years, 6 months ago (2012-06-26 23:02:40 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/10673010/4001
8 years, 6 months ago (2012-06-26 23:03:52 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/10673010/4003
8 years, 6 months ago (2012-06-26 23:14:32 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/10673010/9003
8 years, 6 months ago (2012-06-27 00:05:48 UTC) #5
commit-bot: I haz the power
8 years, 6 months ago (2012-06-27 01:39:53 UTC) #6
Change committed as 144361

Powered by Google App Engine
This is Rietveld 408576698