proxygen
TestListener Class Reference
Inheritance diagram for TestListener:
testing::EmptyTestEventListener testing::EmptyTestEventListener testing::EmptyTestEventListener testing::TestEventListener testing::TestEventListener testing::TestEventListener testing::TestEventListener testing::TestEventListener testing::TestEventListener testing::TestEventListener testing::TestEventListener testing::TestEventListener

Public Member Functions

 TestListener ()
 
 TestListener (int *on_start_counter, bool *is_destroyed)
 
virtual ~TestListener ()
 
 TestListener ()
 
 TestListener (int *on_start_counter, bool *is_destroyed)
 
virtual ~TestListener ()
 
 TestListener ()
 
 TestListener (int *on_start_counter, bool *is_destroyed)
 
virtual ~TestListener ()
 
- Public Member Functions inherited from testing::EmptyTestEventListener
virtual void OnTestIterationStart (const UnitTest &, int)
 
virtual void OnEnvironmentsSetUpStart (const UnitTest &)
 
virtual void OnEnvironmentsSetUpEnd (const UnitTest &)
 
virtual void OnTestCaseStart (const TestCase &)
 
virtual void OnTestStart (const TestInfo &)
 
virtual void OnTestPartResult (const TestPartResult &)
 
virtual void OnTestEnd (const TestInfo &)
 
virtual void OnTestCaseEnd (const TestCase &)
 
virtual void OnEnvironmentsTearDownStart (const UnitTest &)
 
virtual void OnEnvironmentsTearDownEnd (const UnitTest &)
 
virtual void OnTestIterationEnd (const UnitTest &, int)
 
virtual void OnTestProgramEnd (const UnitTest &)
 
virtual void OnTestIterationStart (const UnitTest &, int)
 
virtual void OnEnvironmentsSetUpStart (const UnitTest &)
 
virtual void OnEnvironmentsSetUpEnd (const UnitTest &)
 
virtual void OnTestCaseStart (const TestCase &)
 
virtual void OnTestStart (const TestInfo &)
 
virtual void OnTestPartResult (const TestPartResult &)
 
virtual void OnTestEnd (const TestInfo &)
 
virtual void OnTestCaseEnd (const TestCase &)
 
virtual void OnEnvironmentsTearDownStart (const UnitTest &)
 
virtual void OnEnvironmentsTearDownEnd (const UnitTest &)
 
virtual void OnTestIterationEnd (const UnitTest &, int)
 
virtual void OnTestProgramEnd (const UnitTest &)
 
virtual void OnTestIterationStart (const UnitTest &, int)
 
virtual void OnEnvironmentsSetUpStart (const UnitTest &)
 
virtual void OnEnvironmentsSetUpEnd (const UnitTest &)
 
virtual void OnTestCaseStart (const TestCase &)
 
virtual void OnTestStart (const TestInfo &)
 
virtual void OnTestPartResult (const TestPartResult &)
 
virtual void OnTestEnd (const TestInfo &)
 
virtual void OnTestCaseEnd (const TestCase &)
 
virtual void OnEnvironmentsTearDownStart (const UnitTest &)
 
virtual void OnEnvironmentsTearDownEnd (const UnitTest &)
 
virtual void OnTestIterationEnd (const UnitTest &, int)
 
virtual void OnTestProgramEnd (const UnitTest &)
 
- Public Member Functions inherited from testing::TestEventListener
virtual ~TestEventListener ()
 
virtual ~TestEventListener ()
 
virtual ~TestEventListener ()
 

Protected Member Functions

virtual void OnTestProgramStart (const UnitTest &)
 
virtual void OnTestProgramStart (const UnitTest &)
 
virtual void OnTestProgramStart (const UnitTest &)
 

Private Attributes

int * on_start_counter_
 
bool * is_destroyed_
 

Detailed Description

Definition at line 6983 of file gtest_unittest.cc.

Constructor & Destructor Documentation

TestListener::TestListener ( )
inline

Definition at line 6985 of file gtest_unittest.cc.

6985 : on_start_counter_(NULL), is_destroyed_(NULL) {}
TestListener::TestListener ( int *  on_start_counter,
bool *  is_destroyed 
)
inline

Definition at line 6986 of file gtest_unittest.cc.

6987  : on_start_counter_(on_start_counter),
6988  is_destroyed_(is_destroyed) {}
virtual TestListener::~TestListener ( )
inlinevirtual

Definition at line 6990 of file gtest_unittest.cc.

6990  {
6991  if (is_destroyed_)
6992  *is_destroyed_ = true;
6993  }
TestListener::TestListener ( )
inline

Definition at line 6985 of file gtest_unittest.cc.

6985 : on_start_counter_(NULL), is_destroyed_(NULL) {}
TestListener::TestListener ( int *  on_start_counter,
bool *  is_destroyed 
)
inline

Definition at line 6986 of file gtest_unittest.cc.

6987  : on_start_counter_(on_start_counter),
6988  is_destroyed_(is_destroyed) {}
virtual TestListener::~TestListener ( )
inlinevirtual

Definition at line 6990 of file gtest_unittest.cc.

6990  {
6991  if (is_destroyed_)
6992  *is_destroyed_ = true;
6993  }
TestListener::TestListener ( )
inline

Definition at line 6985 of file gtest_unittest.cc.

6985 : on_start_counter_(NULL), is_destroyed_(NULL) {}
TestListener::TestListener ( int *  on_start_counter,
bool *  is_destroyed 
)
inline

Definition at line 6986 of file gtest_unittest.cc.

6987  : on_start_counter_(on_start_counter),
6988  is_destroyed_(is_destroyed) {}
virtual TestListener::~TestListener ( )
inlinevirtual

Definition at line 6990 of file gtest_unittest.cc.

6990  {
6991  if (is_destroyed_)
6992  *is_destroyed_ = true;
6993  }

Member Function Documentation

virtual void TestListener::OnTestProgramStart ( const UnitTest )
inlineprotectedvirtual

Reimplemented from testing::EmptyTestEventListener.

Definition at line 6996 of file gtest_unittest.cc.

6996  {
6997  if (on_start_counter_ != NULL)
6998  (*on_start_counter_)++;
6999  }
virtual void TestListener::OnTestProgramStart ( const UnitTest )
inlineprotectedvirtual

Reimplemented from testing::EmptyTestEventListener.

Definition at line 6996 of file gtest_unittest.cc.

6996  {
6997  if (on_start_counter_ != NULL)
6998  (*on_start_counter_)++;
6999  }
virtual void TestListener::OnTestProgramStart ( const UnitTest )
inlineprotectedvirtual

Reimplemented from testing::EmptyTestEventListener.

Definition at line 6996 of file gtest_unittest.cc.

6996  {
6997  if (on_start_counter_ != NULL)
6998  (*on_start_counter_)++;
6999  }

Member Data Documentation

bool * TestListener::is_destroyed_
private

Definition at line 7003 of file gtest_unittest.cc.

int * TestListener::on_start_counter_
private

Definition at line 7002 of file gtest_unittest.cc.


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