Namespaces | Macros | Functions | Variables
gtest-death-test-internal.h File Reference
#include "gtest/internal/gtest-internal.h"
#include <stdio.h>
Include dependency graph for gtest-death-test-internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 testing
 
 testing::internal
 

Macros

#define GTEST_UNSUPPORTED_DEATH_TEST_(statement, regex, terminator)
 

Functions

 testing::internal::GTEST_DECLARE_string_ (internal_run_death_test)
 

Variables

const char testing::internal::kDeathTestStyleFlag [] = "death_test_style"
 
const char testing::internal::kDeathTestUseFork [] = "death_test_use_fork"
 
const char testing::internal::kInternalRunDeathTestFlag [] = "internal_run_death_test"
 

Macro Definition Documentation

◆ 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()

Definition at line 301 of file gtest-death-test-internal.h.

testing::internal::AlwaysTrue
GTEST_API_ bool AlwaysTrue()
Definition: gtest.cc:4653
testing::internal::AlwaysFalse
bool AlwaysFalse()
Definition: gtest-internal.h:660
testing::internal::RE::PartialMatch
static bool PartialMatch(const ::std::string &str, const RE &re)
Definition: gtest-port.h:960


fcl
Author(s):
autogenerated on Fri Apr 2 2021 02:38:01