Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::ScopedFakeTestPartResultReporter Class Reference

#include <gtest-spi.h>

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 (InterceptMode intercept_mode, TestPartResultArray *result)
 
 ScopedFakeTestPartResultReporter (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 51 of file gtest-spi.h.

Member Enumeration Documentation

◆ InterceptMode

Enumerator
INTERCEPT_ONLY_CURRENT_THREAD 
INTERCEPT_ALL_THREADS 

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

Constructor & Destructor Documentation

◆ ScopedFakeTestPartResultReporter() [1/2]

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

Definition at line 544 of file gtest.cc.

◆ ScopedFakeTestPartResultReporter() [2/2]

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

Definition at line 554 of file gtest.cc.

◆ ~ScopedFakeTestPartResultReporter()

testing::ScopedFakeTestPartResultReporter::~ScopedFakeTestPartResultReporter ( )
virtual

Definition at line 574 of file gtest.cc.

Member Function Documentation

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_()

testing::ScopedFakeTestPartResultReporter::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( ScopedFakeTestPartResultReporter  )
private

◆ Init()

void testing::ScopedFakeTestPartResultReporter::Init ( )
private

Definition at line 561 of file gtest.cc.

◆ ReportTestPartResult()

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

Implements testing::TestPartResultReporterInterface.

Definition at line 585 of file gtest.cc.

Member Data Documentation

◆ intercept_mode_

const InterceptMode testing::ScopedFakeTestPartResultReporter::intercept_mode_
private

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

◆ old_reporter_

TestPartResultReporterInterface* testing::ScopedFakeTestPartResultReporter::old_reporter_
private

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

◆ result_

TestPartResultArray* const testing::ScopedFakeTestPartResultReporter::result_
private

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


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


fcl
Author(s):
autogenerated on Tue Jun 22 2021 07:27:57