Xmipp  v3.23.11-Nereus
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

 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 339 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 337 of file gtest-death-test.h.

◆ GTEST_UNSUPPORTED_DEATH_TEST

#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."; \
GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
terminator; \
} else \
::testing::Message()
GTEST_API_ bool AlwaysTrue()
static bool PartialMatch(const ::std::string &str, const RE &re)
Definition: gtest-port.h:935
if(fabs(c[*nmax+ *nmax *c_dim1])==0.e0)

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

Function Documentation

◆ GTEST_DECLARE_string_()

GTEST_DECLARE_string_ ( death_test_style  )