Go to the source code of this file.
Namespaces | |
namespace | testing |
namespace | testing::internal |
Defines | |
#define | GTEST_UNSUPPORTED_DEATH_TEST_(statement, regex, terminator) |
Functions | |
testing::internal::GTEST_DECLARE_string_ (internal_run_death_test) | |
Variables | |
const char | testing::internal::kDeathTestStyleFlag [] = "death_test_style" |
const char | testing::internal::kDeathTestUseFork [] = "death_test_use_fork" |
const char | testing::internal::kInternalRunDeathTestFlag [] = "internal_run_death_test" |
#define GTEST_UNSUPPORTED_DEATH_TEST_ | ( | statement, | |
regex, | |||
terminator | |||
) |
GTEST_AMBIGUOUS_ELSE_BLOCKER_ \ if (::testing::internal::AlwaysTrue()) { \ GTEST_LOG_(WARNING) \ << "Death tests are not supported on this platform.\n" \ << "Statement '" #statement "' cannot be verified."; \ } else if (::testing::internal::AlwaysFalse()) { \ ::testing::internal::RE::PartialMatch(".*", (regex)); \ GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ terminator; \ } else \ ::testing::Message()
Definition at line 290 of file gtest-death-test-internal.h.