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 290 of file gtest-death-test-internal.h.



pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:45