Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Functions
gtest-death-test.h File Reference
#include "gtest/internal/gtest-death-test-internal.h"
Include dependency graph for gtest-death-test.h:
This graph shows which files directly or indirectly include this file:

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

#define GTEST_UNSUPPORTED_DEATH_TEST (   statement,
  regex,
  terminator 
)
Value:
GTEST_LOG_(WARNING) \
<< "Death tests are not supported on this platform.\n" \
<< "Statement '" #statement "' cannot be verified."; \
terminator; \
} else \
::testing::Message()
#define GTEST_LOG_(severity)
Definition: gtest-port.h:980
static bool PartialMatch(const ::std::string &str, const RE &re)
Definition: gtest-port.h:911
GTEST_API_ bool AlwaysTrue()
Definition: gtest.cc:6107
#define GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
if(first)
Definition: uninit.c:101

Definition at line 310 of file gtest-death-test.h.

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

Definition at line 334 of file gtest-death-test.h.

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

Definition at line 336 of file gtest-death-test.h.