Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::DefaultGlobalTestPartResultReporter Class Reference

#include <gtest-internal-inl.h>

Inheritance diagram for testing::internal::DefaultGlobalTestPartResultReporter:
Collaboration diagram for testing::internal::DefaultGlobalTestPartResultReporter:

Public Member Functions

 DefaultGlobalTestPartResultReporter (UnitTestImpl *unit_test)
 
virtual void ReportTestPartResult (const TestPartResult &result)
 
- Public Member Functions inherited from testing::TestPartResultReporterInterface
virtual ~TestPartResultReporterInterface ()
 

Detailed Description

Definition at line 461 of file gtest-internal-inl.h.

Constructor & Destructor Documentation

◆ DefaultGlobalTestPartResultReporter()

testing::internal::DefaultGlobalTestPartResultReporter::DefaultGlobalTestPartResultReporter ( UnitTestImpl * unit_test)
explicit

Definition at line 700 of file gtest.cc.

701 : unit_test_(unit_test) {}

Member Function Documentation

◆ ReportTestPartResult()

void testing::internal::DefaultGlobalTestPartResultReporter::ReportTestPartResult ( const TestPartResult & result)
virtual

Implements testing::TestPartResultReporterInterface.

Definition at line 703 of file gtest.cc.

704 {
705 unit_test_->current_test_result()->AddTestPartResult(result);
706 unit_test_->listeners()->repeater()->OnTestPartResult(result);
707}
virtual void OnTestPartResult(const TestPartResult &test_part_result)=0
TestResult * current_test_result()
Definition gtest.cc:5345
Here is the call graph for this function:

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