Orxonox  0.0.5 Codename: Arcturus
Classes | Namespaces | Macros
gtest-spi.h File Reference
#include "gtest/gtest.h"

Go to the source code of this file.

Classes

class  testing::internal::SingleFailureChecker
 
class  testing::ScopedFakeTestPartResultReporter
 

Namespaces

 testing
 
 testing::internal
 

Macros

#define EXPECT_FATAL_FAILURE(statement, substr)
 
#define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr)
 
#define EXPECT_NONFATAL_FAILURE(statement, substr)
 
#define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr)
 

Macro Definition Documentation

#define EXPECT_FATAL_FAILURE (   statement,
  substr 
)
Value:
do { \
class GTestExpectFatalFailureHelper {\
public:\
static void Execute() { statement; }\
};\
&gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
{\
INTERCEPT_ONLY_CURRENT_THREAD, &gtest_failures);\
GTestExpectFatalFailureHelper::Execute();\
}\
Definition: gtest-test-part.h:54
bool AlwaysFalse()
Definition: gtest-internal.h:734
Definition: gtest-test-part.h:123
Definition: gtest-spi.h:96
#define EXPECT_FATAL_FAILURE_ON_ALL_THREADS (   statement,
  substr 
)
Value:
do { \
class GTestExpectFatalFailureHelper {\
public:\
static void Execute() { statement; }\
};\
&gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
{\
INTERCEPT_ALL_THREADS, &gtest_failures);\
GTestExpectFatalFailureHelper::Execute();\
}\
Definition: gtest-test-part.h:54
bool AlwaysFalse()
Definition: gtest-internal.h:734
Definition: gtest-test-part.h:123
Definition: gtest-spi.h:96
#define EXPECT_NONFATAL_FAILURE (   statement,
  substr 
)
Value:
do {\
(substr));\
{\
INTERCEPT_ONLY_CURRENT_THREAD, &gtest_failures);\
if (::testing::internal::AlwaysTrue()) { statement; }\
}\
GTEST_API_ bool AlwaysTrue()
Definition: gtest.cc:4533
bool AlwaysFalse()
Definition: gtest-internal.h:734
Definition: gtest-test-part.h:53
Definition: gtest-test-part.h:123
Definition: gtest-spi.h:96
#define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS (   statement,
  substr 
)
Value:
do {\
(substr));\
{\
&gtest_failures);\
if (::testing::internal::AlwaysTrue()) { statement; }\
}\
GTEST_API_ bool AlwaysTrue()
Definition: gtest.cc:4533
bool AlwaysFalse()
Definition: gtest-internal.h:734
Definition: gtest-test-part.h:53
Definition: gtest-test-part.h:123
Definition: gtest-spi.h:96