GrPPI  1.0
Generic and Reusable Parallel Pattern Interface
Namespaces | Macros | Functions
cmake-build-release/googletest-src/googletest/include/gtest/gtest-death-test.h File Reference
#include "gtest/internal/gtest-death-test-internal.h"
Include dependency graph for cmake-build-release/googletest-src/googletest/include/gtest/gtest-death-test.h:

Go to the source code of this file.

Namespaces

 testing
 

Macros

#define GTEST_UNSUPPORTED_DEATH_TEST(statement, regex, terminator)
 
#define EXPECT_DEATH_IF_SUPPORTED(statement, regex)    GTEST_UNSUPPORTED_DEATH_TEST(statement, regex, )
 
#define ASSERT_DEATH_IF_SUPPORTED(statement, regex)    GTEST_UNSUPPORTED_DEATH_TEST(statement, regex, return)
 

Functions

 testing::GTEST_DECLARE_string_ (death_test_style)
 

Macro Definition Documentation

◆ ASSERT_DEATH_IF_SUPPORTED

#define ASSERT_DEATH_IF_SUPPORTED (   statement,
  regex 
)     GTEST_UNSUPPORTED_DEATH_TEST(statement, regex, return)

◆ EXPECT_DEATH_IF_SUPPORTED

#define EXPECT_DEATH_IF_SUPPORTED (   statement,
  regex 
)     GTEST_UNSUPPORTED_DEATH_TEST(statement, regex, )

◆ GTEST_UNSUPPORTED_DEATH_TEST

#define GTEST_UNSUPPORTED_DEATH_TEST (   statement,
  regex,
  terminator 
)
Value:
GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
GTEST_LOG_(WARNING) \
<< "Death tests are not supported on this platform.\n" \
<< "Statement '" #statement "' cannot be verified."; \
GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
terminator; \
} else \
::testing::Message()
static bool PartialMatch(const ::std::string &str, const RE &re)
Definition: cmake-build-debug/googletest-src/googletest/include/gtest/internal/gtest-port.h:911
bool AlwaysFalse()
Definition: cmake-build-debug/googletest-src/googletest/include/gtest/internal/gtest-internal.h:844
GTEST_API_ bool AlwaysTrue()