Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/external_packages/googletest/googletest/include/gtest/gtest-spi.h>
Public Types | |
enum | InterceptMode { INTERCEPT_ONLY_CURRENT_THREAD, INTERCEPT_ALL_THREADS } |
Public Member Functions | |
ScopedFakeTestPartResultReporter (TestPartResultArray *result) | |
ScopedFakeTestPartResultReporter (InterceptMode intercept_mode, TestPartResultArray *result) | |
virtual | ~ScopedFakeTestPartResultReporter () |
virtual void | ReportTestPartResult (const TestPartResult &result) |
Public Member Functions inherited from testing::TestPartResultReporterInterface | |
virtual | ~TestPartResultReporterInterface () |
Private Member Functions | |
void | Init () |
GTEST_DISALLOW_COPY_AND_ASSIGN_ (ScopedFakeTestPartResultReporter) | |
Private Attributes | |
const InterceptMode | intercept_mode_ |
TestPartResultReporterInterface * | old_reporter_ |
TestPartResultArray *const | result_ |
Definition at line 51 of file gtest-spi.h.
View newest version in sPHENIX GitHub at line 51 of file gtest-spi.h
Definition at line 55 of file gtest-spi.h.
View newest version in sPHENIX GitHub at line 55 of file gtest-spi.h
|
explicit |
testing::ScopedFakeTestPartResultReporter::ScopedFakeTestPartResultReporter | ( | InterceptMode | intercept_mode, |
TestPartResultArray * | result | ||
) |
|
virtual |
Definition at line 593 of file gtest.cc.
View newest version in sPHENIX GitHub at line 593 of file gtest.cc
References testing::internal::GetUnitTestImpl(), INTERCEPT_ALL_THREADS, intercept_mode_, old_reporter_, testing::internal::UnitTestImpl::SetGlobalTestPartResultReporter(), and testing::internal::UnitTestImpl::SetTestPartResultReporterForCurrentThread().
|
private |
|
private |
Definition at line 580 of file gtest.cc.
View newest version in sPHENIX GitHub at line 580 of file gtest.cc
References testing::internal::UnitTestImpl::GetGlobalTestPartResultReporter(), testing::internal::UnitTestImpl::GetTestPartResultReporterForCurrentThread(), testing::internal::GetUnitTestImpl(), INTERCEPT_ALL_THREADS, intercept_mode_, old_reporter_, testing::internal::UnitTestImpl::SetGlobalTestPartResultReporter(), and testing::internal::UnitTestImpl::SetTestPartResultReporterForCurrentThread().
Referenced by ScopedFakeTestPartResultReporter().
|
virtual |
Implements testing::TestPartResultReporterInterface.
Definition at line 604 of file gtest.cc.
View newest version in sPHENIX GitHub at line 604 of file gtest.cc
References testing::TestPartResultArray::Append(), and result_.
|
private |
Definition at line 82 of file gtest-spi.h.
View newest version in sPHENIX GitHub at line 82 of file gtest-spi.h
Referenced by Init(), and ~ScopedFakeTestPartResultReporter().
|
private |
Definition at line 83 of file gtest-spi.h.
View newest version in sPHENIX GitHub at line 83 of file gtest-spi.h
Referenced by Init(), and ~ScopedFakeTestPartResultReporter().
|
private |
Definition at line 84 of file gtest-spi.h.
View newest version in sPHENIX GitHub at line 84 of file gtest-spi.h
Referenced by ReportTestPartResult().