proxygen
|
#include <gtest-spi.h>
Private Member Functions | |
void | Init () |
GTEST_DISALLOW_COPY_AND_ASSIGN_ (ScopedFakeTestPartResultReporter) | |
void | Init () |
GTEST_DISALLOW_COPY_AND_ASSIGN_ (ScopedFakeTestPartResultReporter) | |
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.
Enumerator | |
---|---|
INTERCEPT_ONLY_CURRENT_THREAD | |
INTERCEPT_ALL_THREADS | |
INTERCEPT_ONLY_CURRENT_THREAD | |
INTERCEPT_ALL_THREADS | |
INTERCEPT_ONLY_CURRENT_THREAD | |
INTERCEPT_ALL_THREADS |
Definition at line 55 of file gtest-spi.h.
Enumerator | |
---|---|
INTERCEPT_ONLY_CURRENT_THREAD | |
INTERCEPT_ALL_THREADS | |
INTERCEPT_ONLY_CURRENT_THREAD | |
INTERCEPT_ALL_THREADS | |
INTERCEPT_ONLY_CURRENT_THREAD | |
INTERCEPT_ALL_THREADS |
Definition at line 55 of file gtest-spi.h.
Enumerator | |
---|---|
INTERCEPT_ONLY_CURRENT_THREAD | |
INTERCEPT_ALL_THREADS | |
INTERCEPT_ONLY_CURRENT_THREAD | |
INTERCEPT_ALL_THREADS | |
INTERCEPT_ONLY_CURRENT_THREAD | |
INTERCEPT_ALL_THREADS |
Definition at line 55 of file gtest-spi.h.
|
explicit |
Definition at line 563 of file gtest.cc.
References Init().
Referenced by testing::internal::ShouldRunTestCase().
testing::ScopedFakeTestPartResultReporter::ScopedFakeTestPartResultReporter | ( | InterceptMode | intercept_mode, |
TestPartResultArray * | result | ||
) |
Definition at line 573 of file gtest.cc.
References Init().
|
virtual |
Definition 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().
Referenced by testing::internal::ShouldRunTestCase().
|
explicit |
testing::ScopedFakeTestPartResultReporter::ScopedFakeTestPartResultReporter | ( | InterceptMode | intercept_mode, |
TestPartResultArray * | result | ||
) |
|
virtual |
|
explicit |
testing::ScopedFakeTestPartResultReporter::ScopedFakeTestPartResultReporter | ( | InterceptMode | intercept_mode, |
TestPartResultArray * | result | ||
) |
|
virtual |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition 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(), and testing::internal::ShouldRunTestCase().
|
virtual |
Implements testing::TestPartResultReporterInterface.
|
virtual |
Implements testing::TestPartResultReporterInterface.
Definition at line 604 of file gtest.cc.
References testing::TestPartResultArray::Append(), and result_.
Referenced by testing::internal::ShouldRunTestCase().
|
virtual |
Implements testing::TestPartResultReporterInterface.
|
private |
Definition at line 82 of file gtest-spi.h.
Referenced by Init(), and ~ScopedFakeTestPartResultReporter().
|
private |
Definition at line 83 of file gtest-spi.h.
Referenced by Init(), and ~ScopedFakeTestPartResultReporter().
|
private |
Definition at line 84 of file gtest-spi.h.
Referenced by ReportTestPartResult().