proxygen
SequenceTestingListener Class Reference
Inheritance diagram for SequenceTestingListener:
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

 SequenceTestingListener (std::vector< std::string > *vector, const char *id)
 
 SequenceTestingListener (std::vector< std::string > *vector, const char *id)
 
 SequenceTestingListener (std::vector< std::string > *vector, const char *id)
 
- Public Member Functions inherited from testing::EmptyTestEventListener
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 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 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 &)
 
- Public Member Functions inherited from testing::TestEventListener
virtual ~TestEventListener ()
 
virtual ~TestEventListener ()
 
virtual ~TestEventListener ()
 

Protected Member Functions

virtual void OnTestProgramStart (const UnitTest &)
 
virtual void OnTestProgramEnd (const UnitTest &)
 
virtual void OnTestIterationStart (const UnitTest &, int)
 
virtual void OnTestIterationEnd (const UnitTest &, int)
 
virtual void OnTestProgramStart (const UnitTest &)
 
virtual void OnTestProgramEnd (const UnitTest &)
 
virtual void OnTestIterationStart (const UnitTest &, int)
 
virtual void OnTestIterationEnd (const UnitTest &, int)
 
virtual void OnTestProgramStart (const UnitTest &)
 
virtual void OnTestProgramEnd (const UnitTest &)
 
virtual void OnTestIterationStart (const UnitTest &, int)
 
virtual void OnTestIterationEnd (const UnitTest &, int)
 

Private Member Functions

std::string GetEventDescription (const char *method)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (SequenceTestingListener)
 
std::string GetEventDescription (const char *method)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (SequenceTestingListener)
 
std::string GetEventDescription (const char *method)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (SequenceTestingListener)
 

Private Attributes

std::vector< std::string > * vector_
 
const char *const id_
 

Detailed Description

Definition at line 7060 of file gtest_unittest.cc.

Constructor & Destructor Documentation

SequenceTestingListener::SequenceTestingListener ( std::vector< std::string > *  vector,
const char *  id 
)
inline

Definition at line 7062 of file gtest_unittest.cc.

7063  : vector_(vector), id_(id) {}
std::vector< std::string > * vector_
SequenceTestingListener::SequenceTestingListener ( std::vector< std::string > *  vector,
const char *  id 
)
inline

Definition at line 7062 of file gtest_unittest.cc.

7063  : vector_(vector), id_(id) {}
std::vector< std::string > * vector_
SequenceTestingListener::SequenceTestingListener ( std::vector< std::string > *  vector,
const char *  id 
)
inline

Definition at line 7062 of file gtest_unittest.cc.

7063  : vector_(vector), id_(id) {}
std::vector< std::string > * vector_

Member Function Documentation

std::string SequenceTestingListener::GetEventDescription ( const char *  method)
inlineprivate

Definition at line 7085 of file gtest_unittest.cc.

References testing::Message::GetString(), and message.

7085  {
7086  Message message;
7087  message << id_ << "." << method;
7088  return message.GetString();
7089  }
std::string message
Definition: SPDYCodec.cpp:133
std::string GetString() const
Definition: gtest.cc:981
std::string SequenceTestingListener::GetEventDescription ( const char *  method)
inlineprivate

Definition at line 7085 of file gtest_unittest.cc.

References testing::Message::GetString(), GTEST_DISALLOW_COPY_AND_ASSIGN_, and message.

7085  {
7086  Message message;
7087  message << id_ << "." << method;
7088  return message.GetString();
7089  }
std::string message
Definition: SPDYCodec.cpp:133
std::string GetString() const
Definition: gtest.cc:981
std::string SequenceTestingListener::GetEventDescription ( const char *  method)
inlineprivate

Definition at line 7085 of file gtest_unittest.cc.

References testing::Message::GetString(), GTEST_DISALLOW_COPY_AND_ASSIGN_, and message.

7085  {
7086  Message message;
7087  message << id_ << "." << method;
7088  return message.GetString();
7089  }
std::string message
Definition: SPDYCodec.cpp:133
std::string GetString() const
Definition: gtest.cc:981
SequenceTestingListener::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( SequenceTestingListener  )
private
SequenceTestingListener::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( SequenceTestingListener  )
private
SequenceTestingListener::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( SequenceTestingListener  )
private
virtual void SequenceTestingListener::OnTestIterationEnd ( const UnitTest ,
int   
)
inlineprotectedvirtual

Reimplemented from testing::EmptyTestEventListener.

Definition at line 7079 of file gtest_unittest.cc.

7080  {
7081  vector_->push_back(GetEventDescription("OnTestIterationEnd"));
7082  }
std::vector< std::string > * vector_
std::string GetEventDescription(const char *method)
virtual void SequenceTestingListener::OnTestIterationEnd ( const UnitTest ,
int   
)
inlineprotectedvirtual

Reimplemented from testing::EmptyTestEventListener.

Definition at line 7079 of file gtest_unittest.cc.

7080  {
7081  vector_->push_back(GetEventDescription("OnTestIterationEnd"));
7082  }
std::vector< std::string > * vector_
std::string GetEventDescription(const char *method)
virtual void SequenceTestingListener::OnTestIterationEnd ( const UnitTest ,
int   
)
inlineprotectedvirtual

Reimplemented from testing::EmptyTestEventListener.

Definition at line 7079 of file gtest_unittest.cc.

7080  {
7081  vector_->push_back(GetEventDescription("OnTestIterationEnd"));
7082  }
std::vector< std::string > * vector_
std::string GetEventDescription(const char *method)
virtual void SequenceTestingListener::OnTestIterationStart ( const UnitTest ,
int   
)
inlineprotectedvirtual

Reimplemented from testing::EmptyTestEventListener.

Definition at line 7074 of file gtest_unittest.cc.

7075  {
7076  vector_->push_back(GetEventDescription("OnTestIterationStart"));
7077  }
std::vector< std::string > * vector_
std::string GetEventDescription(const char *method)
virtual void SequenceTestingListener::OnTestIterationStart ( const UnitTest ,
int   
)
inlineprotectedvirtual

Reimplemented from testing::EmptyTestEventListener.

Definition at line 7074 of file gtest_unittest.cc.

7075  {
7076  vector_->push_back(GetEventDescription("OnTestIterationStart"));
7077  }
std::vector< std::string > * vector_
std::string GetEventDescription(const char *method)
virtual void SequenceTestingListener::OnTestIterationStart ( const UnitTest ,
int   
)
inlineprotectedvirtual

Reimplemented from testing::EmptyTestEventListener.

Definition at line 7074 of file gtest_unittest.cc.

7075  {
7076  vector_->push_back(GetEventDescription("OnTestIterationStart"));
7077  }
std::vector< std::string > * vector_
std::string GetEventDescription(const char *method)
virtual void SequenceTestingListener::OnTestProgramEnd ( const UnitTest )
inlineprotectedvirtual

Reimplemented from testing::EmptyTestEventListener.

Definition at line 7070 of file gtest_unittest.cc.

7070  {
7071  vector_->push_back(GetEventDescription("OnTestProgramEnd"));
7072  }
std::vector< std::string > * vector_
std::string GetEventDescription(const char *method)
virtual void SequenceTestingListener::OnTestProgramEnd ( const UnitTest )
inlineprotectedvirtual

Reimplemented from testing::EmptyTestEventListener.

Definition at line 7070 of file gtest_unittest.cc.

7070  {
7071  vector_->push_back(GetEventDescription("OnTestProgramEnd"));
7072  }
std::vector< std::string > * vector_
std::string GetEventDescription(const char *method)
virtual void SequenceTestingListener::OnTestProgramEnd ( const UnitTest )
inlineprotectedvirtual

Reimplemented from testing::EmptyTestEventListener.

Definition at line 7070 of file gtest_unittest.cc.

7070  {
7071  vector_->push_back(GetEventDescription("OnTestProgramEnd"));
7072  }
std::vector< std::string > * vector_
std::string GetEventDescription(const char *method)
virtual void SequenceTestingListener::OnTestProgramStart ( const UnitTest )
inlineprotectedvirtual

Reimplemented from testing::EmptyTestEventListener.

Definition at line 7066 of file gtest_unittest.cc.

7066  {
7067  vector_->push_back(GetEventDescription("OnTestProgramStart"));
7068  }
std::vector< std::string > * vector_
std::string GetEventDescription(const char *method)
virtual void SequenceTestingListener::OnTestProgramStart ( const UnitTest )
inlineprotectedvirtual

Reimplemented from testing::EmptyTestEventListener.

Definition at line 7066 of file gtest_unittest.cc.

7066  {
7067  vector_->push_back(GetEventDescription("OnTestProgramStart"));
7068  }
std::vector< std::string > * vector_
std::string GetEventDescription(const char *method)
virtual void SequenceTestingListener::OnTestProgramStart ( const UnitTest )
inlineprotectedvirtual

Reimplemented from testing::EmptyTestEventListener.

Definition at line 7066 of file gtest_unittest.cc.

7066  {
7067  vector_->push_back(GetEventDescription("OnTestProgramStart"));
7068  }
std::vector< std::string > * vector_
std::string GetEventDescription(const char *method)

Member Data Documentation

const char *const SequenceTestingListener::id_
private

Definition at line 7092 of file gtest_unittest.cc.

std::vector< std::string > * SequenceTestingListener::vector_
private

Definition at line 7091 of file gtest_unittest.cc.


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