QUDA  v1.1.0
A library for QCD on GPUs
Namespaces | Macros | Functions
gtest-death-test.h File Reference
#include "gtest/internal/gtest-death-test-internal.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)

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

◆ EXPECT_DEATH_IF_SUPPORTED

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

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

◆ 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: gtest-port.h:940
GTEST_API_ bool AlwaysTrue()

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