Namespaces | Defines | 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

namespace  testing
namespace  testing::internal

Defines

#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"

Define Documentation

#define GTEST_UNSUPPORTED_DEATH_TEST_ (   statement,
  regex,
  terminator 
)
Value:
GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
    if (::testing::internal::AlwaysTrue()) { \
      GTEST_LOG_(WARNING) \
          << "Death tests are not supported on this platform.\n" \
          << "Statement '" #statement "' cannot be verified."; \
    } else if (::testing::internal::AlwaysFalse()) { \
      ::testing::internal::RE::PartialMatch(".*", (regex)); \
      GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
      terminator; \
    } else \
      ::testing::Message()

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



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:08