#include <gtest-spi.h>
Public Types | |
enum | InterceptMode { INTERCEPT_ONLY_CURRENT_THREAD, INTERCEPT_ALL_THREADS } |
Public Member Functions | |
virtual void | ReportTestPartResult (const TestPartResult &result) |
ScopedFakeTestPartResultReporter (TestPartResultArray *result) | |
ScopedFakeTestPartResultReporter (InterceptMode intercept_mode, TestPartResultArray *result) | |
virtual | ~ScopedFakeTestPartResultReporter () |
Private Member Functions | |
GTEST_DISALLOW_COPY_AND_ASSIGN_ (ScopedFakeTestPartResultReporter) | |
void | Init () |
Private Attributes | |
const InterceptMode | intercept_mode_ |
TestPartResultReporterInterface * | old_reporter_ |
TestPartResultArray *const | result_ |
Definition at line 51 of file gtest-spi.h.
Definition at line 55 of file gtest-spi.h.
testing::ScopedFakeTestPartResultReporter::ScopedFakeTestPartResultReporter | ( | TestPartResultArray * | result | ) | [explicit] |
testing::ScopedFakeTestPartResultReporter::ScopedFakeTestPartResultReporter | ( | InterceptMode | intercept_mode, |
TestPartResultArray * | result | ||
) |
testing::ScopedFakeTestPartResultReporter::GTEST_DISALLOW_COPY_AND_ASSIGN_ | ( | ScopedFakeTestPartResultReporter | ) | [private] |
void testing::ScopedFakeTestPartResultReporter::Init | ( | ) | [private] |
void testing::ScopedFakeTestPartResultReporter::ReportTestPartResult | ( | const TestPartResult & | result | ) | [virtual] |
Implements testing::TestPartResultReporterInterface.
Definition at line 82 of file gtest-spi.h.
Definition at line 83 of file gtest-spi.h.
TestPartResultArray* const testing::ScopedFakeTestPartResultReporter::result_ [private] |
Definition at line 84 of file gtest-spi.h.