Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::ScopedFakeTestPartResultReporter Class Reference
Inheritance diagram for testing::ScopedFakeTestPartResultReporter:
Inheritance graph
[legend]

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 ()
 
- Public Member Functions inherited from testing::TestPartResultReporterInterface
virtual ~TestPartResultReporterInterface ()
 

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (ScopedFakeTestPartResultReporter)
 
void Init ()
 

Private Attributes

const InterceptMode intercept_mode_
 
TestPartResultReporterInterfaceold_reporter_
 
TestPartResultArray *const result_
 

Detailed Description

Definition at line 124 of file gtest-all.cc.

Member Enumeration Documentation

Enumerator
INTERCEPT_ONLY_CURRENT_THREAD 
INTERCEPT_ALL_THREADS 

Definition at line 128 of file gtest-all.cc.

Constructor & Destructor Documentation

testing::ScopedFakeTestPartResultReporter::ScopedFakeTestPartResultReporter ( TestPartResultArray result)
explicit

Definition at line 2025 of file gtest-all.cc.

testing::ScopedFakeTestPartResultReporter::ScopedFakeTestPartResultReporter ( InterceptMode  intercept_mode,
TestPartResultArray result 
)

Definition at line 2035 of file gtest-all.cc.

testing::ScopedFakeTestPartResultReporter::~ScopedFakeTestPartResultReporter ( )
virtual

Definition at line 2055 of file gtest-all.cc.

Member Function Documentation

testing::ScopedFakeTestPartResultReporter::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( ScopedFakeTestPartResultReporter  )
private
void testing::ScopedFakeTestPartResultReporter::Init ( )
private

Definition at line 2042 of file gtest-all.cc.

void testing::ScopedFakeTestPartResultReporter::ReportTestPartResult ( const TestPartResult result)
virtual

Implements testing::TestPartResultReporterInterface.

Definition at line 2066 of file gtest-all.cc.

Member Data Documentation

const InterceptMode testing::ScopedFakeTestPartResultReporter::intercept_mode_
private

Definition at line 155 of file gtest-all.cc.

TestPartResultReporterInterface* testing::ScopedFakeTestPartResultReporter::old_reporter_
private

Definition at line 156 of file gtest-all.cc.

TestPartResultArray* const testing::ScopedFakeTestPartResultReporter::result_
private

Definition at line 157 of file gtest-all.cc.


The documentation for this class was generated from the following file:


diagnostic_aggregator
Author(s): Kevin Watts, Brice Rebsamen
autogenerated on Wed Mar 27 2019 03:02:16