GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
GTEST_LOG_(WARNING) \
<< "Death tests are not supported on this platform.\n" \
<< "Statement '" #statement "' cannot be verified."; \
::testing::internal::RE::PartialMatch(".*", (regex)); \
GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
terminator; \
} else \
::testing::Message()
GTEST_API_ bool AlwaysTrue()
301# define GTEST_UNSUPPORTED_DEATH_TEST_(statement, regex, terminator) \
302 GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
303 if (::testing::internal::AlwaysTrue()) { \
304 GTEST_LOG_(WARNING) \
305 << "Death tests are not supported on this platform.\n" \
306 << "Statement '" #statement "' cannot be verified."; \
307 } else if (::testing::internal::AlwaysFalse()) { \
308 ::testing::internal::RE::PartialMatch(".*", (regex)); \
309 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
310 terminator; \
311 } else \
312 ::testing::Message()