Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gtest-spi.h File Reference
#include "gtest/gtest.h"
+ Include dependency graph for gtest-spi.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Namespaces

namespace  testing
 
namespace  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 at line 138 of file gtest-spi.h.

View newest version in sPHENIX GitHub at line 138 of file gtest-spi.h

Referenced by GTEST_TEST(), TEST(), testing::gmock_matchers_test::TEST(), my_namespace::testing::TEST(), and TEST_F().

#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 at line 155 of file gtest-spi.h.

View newest version in sPHENIX GitHub at line 155 of file gtest-spi.h

Referenced by TEST_F().

#define EXPECT_NONFATAL_FAILURE (   statement,
  substr 
)
Value:
do {\
(substr));\
{\
INTERCEPT_ONLY_CURRENT_THREAD, &gtest_failures);\
if (::testing::internal::AlwaysTrue()) { statement; }\
}\

Definition at line 204 of file gtest-spi.h.

View newest version in sPHENIX GitHub at line 204 of file gtest-spi.h

Referenced by testing::gmock_nice_strict_test::TEST(), TEST(), testing::gmock_matchers_test::TEST(), and TEST_F().

#define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS (   statement,
  substr 
)
Value:

Definition at line 218 of file gtest-spi.h.

View newest version in sPHENIX GitHub at line 218 of file gtest-spi.h

Referenced by TEST_F().