DescriptionAdd {ASSERT,EXPECT}_DCHECK macros for tests
The existing {ASSERT,EXPECT}_DFATAL macros were not suitable for DCHECKs
since for release builds where DCHECK_IS_ON(), the DCHECK still runs at
LOG_DCHECK severity which is FATAL, whereas the *_DFATAL macros are
expecting LOG_DFATAL severity which is only ERROR in release builds.
BUG=none
Committed: https://crrev.com/4501a135f39f0acb7f3864f188bae59f62fd64d5
Cr-Commit-Position: refs/heads/master@{#410330}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Switch to do { ... } while (false) #Messages
Total messages: 13 (4 generated)
|