#include "gtest/internal/gtest-internal.h"
#include <stdio.h>
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) |
#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 301 of file gtest/include/gtest/internal/gtest-death-test-internal.h.