| Index: base/logging_unittest.cc
|
| diff --git a/base/logging_unittest.cc b/base/logging_unittest.cc
|
| index c434129d63a2ebcea3cf249ab250d8049549d5a1..760cc24bc3fcde295174c1fd968c0ba91ded4dad 100644
|
| --- a/base/logging_unittest.cc
|
| +++ b/base/logging_unittest.cc
|
| @@ -166,6 +166,9 @@ TEST_F(LoggingTest, LoggingIsLazy) {
|
| DVLOG_IF(1, true) << mock_log_source.Log();
|
| }
|
|
|
| +// Official builds have CHECKs directly call BreakDebugger.
|
| +#if !defined(LOGGING_IS_OFFICIAL_BUILD)
|
| +
|
| TEST_F(LoggingTest, CheckStreamsAreLazy) {
|
| MockLogSource mock_log_source, uncalled_mock_log_source;
|
| EXPECT_CALL(mock_log_source, Log()).Times(8).
|
| @@ -182,6 +185,8 @@ TEST_F(LoggingTest, CheckStreamsAreLazy) {
|
| << mock_log_source.Log();
|
| }
|
|
|
| +#endif
|
| +
|
| TEST_F(LoggingTest, DebugLoggingReleaseBehavior) {
|
| #if !defined(NDEBUG)
|
| int debug_only_variable = 1;
|
|
|