Electroneum
Loading...
Searching...
No Matches
testing::ScopedFakeTestPartResultReporter Class Reference

#include <gtest-spi.h>

Inheritance diagram for testing::ScopedFakeTestPartResultReporter:
Collaboration diagram for testing::ScopedFakeTestPartResultReporter:

Public Types

enum  InterceptMode { INTERCEPT_ONLY_CURRENT_THREAD , INTERCEPT_ALL_THREADS , INTERCEPT_ONLY_CURRENT_THREAD , INTERCEPT_ALL_THREADS }
enum  InterceptMode { INTERCEPT_ONLY_CURRENT_THREAD , INTERCEPT_ALL_THREADS , 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)
 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 ()
virtual ~TestPartResultReporterInterface ()

Detailed Description

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

Member Enumeration Documentation

◆ InterceptMode [1/2]

Enumerator
INTERCEPT_ONLY_CURRENT_THREAD 
INTERCEPT_ALL_THREADS 
INTERCEPT_ONLY_CURRENT_THREAD 
INTERCEPT_ALL_THREADS 

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

55 {
56 INTERCEPT_ONLY_CURRENT_THREAD, // Intercepts only thread local failures.
57 INTERCEPT_ALL_THREADS // Intercepts all failures.
58 };

◆ InterceptMode [2/2]

Enumerator
INTERCEPT_ONLY_CURRENT_THREAD 
INTERCEPT_ALL_THREADS 
INTERCEPT_ONLY_CURRENT_THREAD 
INTERCEPT_ALL_THREADS 

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

55 {
56 INTERCEPT_ONLY_CURRENT_THREAD, // Intercepts only thread local failures.
57 INTERCEPT_ALL_THREADS // Intercepts all failures.
58 };

Constructor & Destructor Documentation

◆ ScopedFakeTestPartResultReporter() [1/4]

testing::ScopedFakeTestPartResultReporter::ScopedFakeTestPartResultReporter ( TestPartResultArray * result)
explicit
Here is the caller graph for this function:

◆ ScopedFakeTestPartResultReporter() [2/4]

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

◆ ~ScopedFakeTestPartResultReporter() [1/2]

virtual testing::ScopedFakeTestPartResultReporter::~ScopedFakeTestPartResultReporter ( )
virtual

◆ ScopedFakeTestPartResultReporter() [3/4]

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

◆ ScopedFakeTestPartResultReporter() [4/4]

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

◆ ~ScopedFakeTestPartResultReporter() [2/2]

virtual testing::ScopedFakeTestPartResultReporter::~ScopedFakeTestPartResultReporter ( )
virtual

Member Function Documentation

◆ ReportTestPartResult() [1/2]

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

Implements testing::TestPartResultReporterInterface.

Here is the call graph for this function:

◆ ReportTestPartResult() [2/2]

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

Implements testing::TestPartResultReporterInterface.

Here is the call graph for this function:

The documentation for this class was generated from the following files:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-spi.h
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/tests/gtest/include/gtest/gtest-spi.h