Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::internal::TestEventRepeater Class Reference
Inheritance diagram for testing::internal::TestEventRepeater:
Inheritance graph
[legend]

Public Member Functions

 TestEventRepeater ()
 
 ~TestEventRepeater () override
 
void Append (TestEventListener *listener)
 
TestEventListenerRelease (TestEventListener *listener)
 
bool forwarding_enabled () const
 
void set_forwarding_enabled (bool enable)
 
void OnTestProgramStart (const UnitTest &unit_test) override
 
void OnTestIterationStart (const UnitTest &unit_test, int iteration) override
 
void OnEnvironmentsSetUpStart (const UnitTest &unit_test) override
 
void OnEnvironmentsSetUpEnd (const UnitTest &unit_test) override
 
void OnTestCaseStart (const TestSuite &parameter) override
 
void OnTestSuiteStart (const TestSuite &parameter) override
 
void OnTestStart (const TestInfo &test_info) override
 
void OnTestPartResult (const TestPartResult &result) override
 
void OnTestEnd (const TestInfo &test_info) override
 
void OnTestCaseEnd (const TestCase &parameter) override
 
void OnTestSuiteEnd (const TestSuite &parameter) override
 
void OnEnvironmentsTearDownStart (const UnitTest &unit_test) override
 
void OnEnvironmentsTearDownEnd (const UnitTest &unit_test) override
 
void OnTestIterationEnd (const UnitTest &unit_test, int iteration) override
 
void OnTestProgramEnd (const UnitTest &unit_test) override
 
- Public Member Functions inherited from testing::TestEventListener
virtual ~TestEventListener ()
 
virtual void OnTestCaseStart (const TestCase &)
 

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestEventRepeater)
 

Private Attributes

bool forwarding_enabled_
 
std::vector< TestEventListener * > listeners_
 

Detailed Description

Definition at line 3755 of file gtest.cc.

Constructor & Destructor Documentation

testing::internal::TestEventRepeater::TestEventRepeater ( )
inline

Definition at line 3757 of file gtest.cc.

testing::internal::TestEventRepeater::~TestEventRepeater ( )
override

Definition at line 3799 of file gtest.cc.

Member Function Documentation

void testing::internal::TestEventRepeater::Append ( TestEventListener listener)

Definition at line 3803 of file gtest.cc.

TestEventListener * testing::internal::TestEventRepeater::Release ( TestEventListener listener)

Definition at line 3807 of file gtest.cc.

bool testing::internal::TestEventRepeater::forwarding_enabled ( ) const
inline

Definition at line 3764 of file gtest.cc.

void testing::internal::TestEventRepeater::set_forwarding_enabled ( bool  enable)
inline

Definition at line 3765 of file gtest.cc.

void testing::internal::TestEventRepeater::OnTestProgramStart ( const UnitTest unit_test)
overridevirtual
void testing::internal::TestEventRepeater::OnTestIterationStart ( const UnitTest unit_test,
int  iteration 
)
overridevirtual

Implements testing::TestEventListener.

Definition at line 3862 of file gtest.cc.

void testing::internal::TestEventRepeater::OnEnvironmentsSetUpStart ( const UnitTest unit_test)
overridevirtual
void testing::internal::TestEventRepeater::OnEnvironmentsSetUpEnd ( const UnitTest unit_test)
overridevirtual
void testing::internal::TestEventRepeater::OnTestCaseStart ( const TestSuite parameter)
override
void testing::internal::TestEventRepeater::OnTestSuiteStart ( const TestSuite parameter)
overridevirtual

Reimplemented from testing::TestEventListener.

void testing::internal::TestEventRepeater::OnTestStart ( const TestInfo test_info)
overridevirtual
void testing::internal::TestEventRepeater::OnTestPartResult ( const TestPartResult &  result)
overridevirtual
void testing::internal::TestEventRepeater::OnTestEnd ( const TestInfo test_info)
overridevirtual
void testing::internal::TestEventRepeater::OnTestCaseEnd ( const TestCase &  parameter)
overridevirtual

Reimplemented from testing::TestEventListener.

void testing::internal::TestEventRepeater::OnTestSuiteEnd ( const TestSuite parameter)
overridevirtual

Reimplemented from testing::TestEventListener.

void testing::internal::TestEventRepeater::OnEnvironmentsTearDownStart ( const UnitTest unit_test)
overridevirtual
void testing::internal::TestEventRepeater::OnEnvironmentsTearDownEnd ( const UnitTest unit_test)
overridevirtual
void testing::internal::TestEventRepeater::OnTestIterationEnd ( const UnitTest unit_test,
int  iteration 
)
overridevirtual

Implements testing::TestEventListener.

Definition at line 3871 of file gtest.cc.

void testing::internal::TestEventRepeater::OnTestProgramEnd ( const UnitTest unit_test)
overridevirtual
testing::internal::TestEventRepeater::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( TestEventRepeater  )
private

Member Data Documentation

bool testing::internal::TestEventRepeater::forwarding_enabled_
private

Definition at line 3792 of file gtest.cc.

std::vector<TestEventListener*> testing::internal::TestEventRepeater::listeners_
private

Definition at line 3794 of file gtest.cc.


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