Public Member Functions |
Protected Member Functions |
Protected Attributes |
Private Attributes |
Friends |
List of all members
SETestCase Class Reference
#include <SETestCase.h>
Inherits Loggable.
Public Member Functions | |
virtual | ~SETestCase () |
virtual void | Reset () |
virtual void | Clear () |
void | SetName (const std::string &name) |
std::string | GetName () const |
SEScalarTime & | GetDuration () |
void | AddFailure (std::stringstream &msg) |
void | AddFailure (const std::string &err) |
const std::vector< std::string > & | GetFailures () |
SETestErrorStatistics & | CreateErrorStatistic () |
const std::vector< SETestErrorStatistics * > & | GetErrorStatistics () const |
Public Member Functions inherited from Loggable | |
Loggable (Logger *logger=nullptr) | |
Loggable (std::string const &logfile) | |
virtual | ~Loggable () |
virtual Logger * | GetLogger () const |
virtual void | SetLogger (Logger &logger) |
virtual void | Debug (std::string const &msg) const |
virtual void | Debug (std::stringstream &msg) const |
virtual void | Debug (std::ostream &msg) const |
virtual void | Info (std::string const &msg) const |
virtual void | Info (std::stringstream &msg) const |
virtual void | Info (const std::stringstream &msg) const |
virtual void | Info (std::ostream &msg) const |
virtual void | Warning (std::string const &msg) const |
virtual void | Warning (std::stringstream &msg) const |
virtual void | Warning (std::ostream &msg) const |
virtual void | Error (std::string const &msg) const |
virtual void | Error (std::stringstream &msg) const |
virtual void | Error (std::ostream &msg) const |
virtual void | Fatal (std::string const &msg) const |
virtual void | Fatal (std::stringstream &msg) const |
virtual void | Fatal (std::ostream &msg) const |
Protected Member Functions | |
SETestCase (Logger *logger) | |
SETestCase (const std::string &name, Logger *logger) | |
Protected Attributes | |
std::string | m_Name |
SEScalarTime * | m_Duration |
std::vector< std::string > | m_Failure |
std::vector< SETestErrorStatistics * > | m_CaseEqualsErrors |
Protected Attributes inherited from Loggable | |
bool | myLogger |
Logger * | m_Logger |
Private Attributes | |
friend | SETestSuite |
Friends | |
class | PBTestReport |
Constructor & Destructor Documentation
◆ SETestCase() [1/2]
|
protected |
◆ SETestCase() [2/2]
|
protected |
◆ ~SETestCase()
|
virtual |
Member Function Documentation
◆ AddFailure() [1/2]
void SETestCase::AddFailure | ( | const std::string & | err | ) |
◆ AddFailure() [2/2]
void SETestCase::AddFailure | ( | std::stringstream & | msg | ) |
◆ Clear()
|
virtual |
◆ CreateErrorStatistic()
SETestErrorStatistics & SETestCase::CreateErrorStatistic | ( | ) |
◆ GetDuration()
SEScalarTime & SETestCase::GetDuration | ( | ) |
◆ GetErrorStatistics()
const std::vector< SETestErrorStatistics * > & SETestCase::GetErrorStatistics | ( | ) | const |
◆ GetFailures()
const std::vector< std::string > & SETestCase::GetFailures | ( | ) |
◆ GetName()
std::string SETestCase::GetName | ( | ) | const |
◆ Reset()
|
virtual |
◆ SetName()
void SETestCase::SetName | ( | const std::string & | name | ) |
Friends And Related Function Documentation
◆ PBTestReport
|
friend |
Member Data Documentation
◆ m_CaseEqualsErrors
|
protected |
◆ m_Duration
|
protected |
◆ m_Failure
|
protected |
◆ m_Name
|
protected |
◆ SETestSuite
|
private |