diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2020-01-22 04:22:18 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-01-22 04:22:18 +0000 |
commit | dd7b0034f18fe2adb98d89bc2d4eeaa7dbd099a2 (patch) | |
tree | f7681478921146427edb73e4e70162d18bdfa0b4 /base/logging_test.cpp | |
parent | 5e8b40f3bb00ced5da858e373345795c519e74dc (diff) | |
parent | daec2f4f88253e2e6c9ac38c1903e9ef0e1c07fe (diff) |
Snap for 6152176 from daec2f4f88253e2e6c9ac38c1903e9ef0e1c07fe to rvc-release
Change-Id: Icf074761856709508e65f435e25a8f64aeab708d
Diffstat (limited to 'base/logging_test.cpp')
-rw-r--r-- | base/logging_test.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/base/logging_test.cpp b/base/logging_test.cpp index 3113fb47a..8f4619639 100644 --- a/base/logging_test.cpp +++ b/base/logging_test.cpp @@ -140,10 +140,6 @@ TEST(logging, WOULD_LOG_FATAL) { CHECK_WOULD_LOG_ENABLED(FATAL); } -TEST(logging, WOULD_LOG_FATAL_WITHOUT_ABORT_disabled) { - CHECK_WOULD_LOG_DISABLED(FATAL_WITHOUT_ABORT); -} - TEST(logging, WOULD_LOG_FATAL_WITHOUT_ABORT_enabled) { CHECK_WOULD_LOG_ENABLED(FATAL_WITHOUT_ABORT); } @@ -266,10 +262,6 @@ static void CheckMessage(CapturedStderr& cap, android::base::LogSeverity severit CheckMessage(cap2, android::base::severity, "foobar"); \ } \ -TEST(logging, LOG_STREAM_FATAL_WITHOUT_ABORT_disabled) { - CHECK_LOG_STREAM_DISABLED(FATAL_WITHOUT_ABORT); -} - TEST(logging, LOG_STREAM_FATAL_WITHOUT_ABORT_enabled) { ASSERT_NO_FATAL_FAILURE(CHECK_LOG_STREAM_ENABLED(FATAL_WITHOUT_ABORT)); } @@ -352,10 +344,6 @@ TEST(logging, LOG_FATAL) { ASSERT_DEATH({SuppressAbortUI(); LOG(::android::base::FATAL) << "foobar";}, "foobar"); } -TEST(logging, LOG_FATAL_WITHOUT_ABORT_disabled) { - CHECK_LOG_DISABLED(FATAL_WITHOUT_ABORT); -} - TEST(logging, LOG_FATAL_WITHOUT_ABORT_enabled) { ASSERT_NO_FATAL_FAILURE(CHECK_LOG_ENABLED(FATAL_WITHOUT_ABORT)); } @@ -508,10 +496,6 @@ TEST(logging, PLOG_FATAL) { ASSERT_DEATH({SuppressAbortUI(); PLOG(::android::base::FATAL) << "foobar";}, "foobar"); } -TEST(logging, PLOG_FATAL_WITHOUT_ABORT_disabled) { - CHECK_PLOG_DISABLED(FATAL_WITHOUT_ABORT); -} - TEST(logging, PLOG_FATAL_WITHOUT_ABORT_enabled) { ASSERT_NO_FATAL_FAILURE(CHECK_PLOG_ENABLED(FATAL_WITHOUT_ABORT)); } |