Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testing::TestEventListeners Class Reference

#include <JETSCAPE/blob/main/external_packages/googletest/googletest/include/gtest/gtest.h>

+ Collaboration diagram for testing::TestEventListeners:

Public Member Functions

 TestEventListeners ()
 
 ~TestEventListeners ()
 
void Append (TestEventListener *listener)
 
TestEventListenerRelease (TestEventListener *listener)
 
TestEventListenerdefault_result_printer () const
 
TestEventListenerdefault_xml_generator () const
 

Private Member Functions

TestEventListenerrepeater ()
 
void SetDefaultResultPrinter (TestEventListener *listener)
 
void SetDefaultXmlGenerator (TestEventListener *listener)
 
bool EventForwardingEnabled () const
 
void SuppressEventForwarding ()
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestEventListeners)
 

Private Attributes

internal::TestEventRepeaterrepeater_
 
TestEventListenerdefault_result_printer_
 
TestEventListenerdefault_xml_generator_
 

Friends

class TestCase
 
class TestInfo
 
class internal::DefaultGlobalTestPartResultReporter
 
class internal::NoExecDeathTest
 
class internal::TestEventListenersAccessor
 
class internal::UnitTestImpl
 

Detailed Description

Definition at line 1064 of file gtest.h.

View newest version in sPHENIX GitHub at line 1064 of file gtest.h

Constructor & Destructor Documentation

testing::TestEventListeners::TestEventListeners ( )

Definition at line 3890 of file gtest.cc.

View newest version in sPHENIX GitHub at line 3890 of file gtest.cc

testing::TestEventListeners::~TestEventListeners ( )

Definition at line 3896 of file gtest.cc.

View newest version in sPHENIX GitHub at line 3896 of file gtest.cc

References repeater_.

Member Function Documentation

void testing::TestEventListeners::Append ( TestEventListener listener)

Definition at line 3902 of file gtest.cc.

View newest version in sPHENIX GitHub at line 3902 of file gtest.cc

References testing::internal::TestEventRepeater::Append(), and repeater_.

Referenced by testing::internal::UnitTestImpl::PostFlagParsingInit(), SetDefaultResultPrinter(), SetDefaultXmlGenerator(), and TEST().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TestEventListener* testing::TestEventListeners::default_result_printer ( ) const
inline

Definition at line 1084 of file gtest.h.

View newest version in sPHENIX GitHub at line 1084 of file gtest.h

Referenced by TEST().

+ Here is the caller graph for this function:

TestEventListener* testing::TestEventListeners::default_xml_generator ( ) const
inline

Definition at line 1095 of file gtest.h.

View newest version in sPHENIX GitHub at line 1095 of file gtest.h

Referenced by TEST().

+ Here is the caller graph for this function:

bool testing::TestEventListeners::EventForwardingEnabled ( ) const
private

Definition at line 3955 of file gtest.cc.

View newest version in sPHENIX GitHub at line 3955 of file gtest.cc

References testing::internal::TestEventRepeater::forwarding_enabled(), and repeater_.

Referenced by testing::internal::TestEventListenersAccessor::EventForwardingEnabled().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

testing::TestEventListeners::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( TestEventListeners  )
private
TestEventListener * testing::TestEventListeners::Release ( TestEventListener listener)

Definition at line 3909 of file gtest.cc.

View newest version in sPHENIX GitHub at line 3909 of file gtest.cc

References default_result_printer_, default_xml_generator_, testing::internal::TestEventRepeater::Release(), and repeater_.

Referenced by SetDefaultResultPrinter(), SetDefaultXmlGenerator(), and TEST().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TestEventListener * testing::TestEventListeners::repeater ( )
private

Definition at line 3919 of file gtest.cc.

View newest version in sPHENIX GitHub at line 3919 of file gtest.cc

References repeater_.

Referenced by testing::internal::TestEventListenersAccessor::GetRepeater(), testing::internal::DefaultGlobalTestPartResultReporter::ReportTestPartResult(), testing::TestInfo::Run(), testing::TestCase::Run(), and testing::internal::UnitTestImpl::RunAllTests().

+ Here is the caller graph for this function:

void testing::TestEventListeners::SetDefaultResultPrinter ( TestEventListener listener)
private

Definition at line 3926 of file gtest.cc.

View newest version in sPHENIX GitHub at line 3926 of file gtest.cc

References Append(), default_result_printer_, and Release().

Referenced by testing::internal::TestEventListenersAccessor::SetDefaultResultPrinter(), and testing::internal::UnitTestImpl::UnitTestImpl().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void testing::TestEventListeners::SetDefaultXmlGenerator ( TestEventListener listener)
private

Definition at line 3942 of file gtest.cc.

View newest version in sPHENIX GitHub at line 3942 of file gtest.cc

References Append(), default_xml_generator_, and Release().

Referenced by testing::internal::UnitTestImpl::ConfigureXmlOutput(), and testing::internal::TestEventListenersAccessor::SetDefaultXmlGenerator().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void testing::TestEventListeners::SuppressEventForwarding ( )
private

Definition at line 3959 of file gtest.cc.

View newest version in sPHENIX GitHub at line 3959 of file gtest.cc

References repeater_, and testing::internal::TestEventRepeater::set_forwarding_enabled().

Referenced by testing::internal::TestEventListenersAccessor::SuppressEventForwarding().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Friends And Related Function Documentation

Definition at line 1102 of file gtest.h.

View newest version in sPHENIX GitHub at line 1102 of file gtest.h

friend class internal::NoExecDeathTest
friend

Definition at line 1103 of file gtest.h.

View newest version in sPHENIX GitHub at line 1103 of file gtest.h

Definition at line 1104 of file gtest.h.

View newest version in sPHENIX GitHub at line 1104 of file gtest.h

friend class internal::UnitTestImpl
friend

Definition at line 1105 of file gtest.h.

View newest version in sPHENIX GitHub at line 1105 of file gtest.h

friend class TestCase
friend

Definition at line 1100 of file gtest.h.

View newest version in sPHENIX GitHub at line 1100 of file gtest.h

friend class TestInfo
friend

Definition at line 1101 of file gtest.h.

View newest version in sPHENIX GitHub at line 1101 of file gtest.h

Member Data Documentation

TestEventListener* testing::TestEventListeners::default_result_printer_
private

Definition at line 1133 of file gtest.h.

View newest version in sPHENIX GitHub at line 1133 of file gtest.h

Referenced by Release(), and SetDefaultResultPrinter().

TestEventListener* testing::TestEventListeners::default_xml_generator_
private

Definition at line 1135 of file gtest.h.

View newest version in sPHENIX GitHub at line 1135 of file gtest.h

Referenced by Release(), and SetDefaultXmlGenerator().

internal::TestEventRepeater* testing::TestEventListeners::repeater_
private

Definition at line 1131 of file gtest.h.

View newest version in sPHENIX GitHub at line 1131 of file gtest.h

Referenced by Append(), EventForwardingEnabled(), Release(), repeater(), SuppressEventForwarding(), and ~TestEventListeners().


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