#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
 
SEScalarTimeGetDuration ()
 
void AddFailure (std::stringstream &msg)
 
void AddFailure (const std::string &err)
 
const std::vector< std::string > & GetFailures ()
 
SETestErrorStatisticsCreateErrorStatistic ()
 
const std::vector< SETestErrorStatistics * > & GetErrorStatistics () const
 
- Public Member Functions inherited from Loggable
 Loggable ()
 
 Loggable (Logger *log)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 
virtual void Debug (std::string const &msg, std::string const &origin=empty) const
 
virtual void Debug (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Debug (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Info (std::string const &msg, std::string const &origin=empty) const
 
virtual void Info (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (const std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::string const &msg, std::string const &origin=empty) const
 
virtual void Warning (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Error (std::string const &msg, std::string const &origin=empty) const
 
virtual void Error (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Error (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::string const &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::ostream &msg, std::string const &origin=empty) const
 

Protected Member Functions

 SETestCase (Logger *logger)
 
 SETestCase (const std::string &name, Logger *logger)
 

Protected Attributes

std::string m_Name
 
SEScalarTimem_Duration
 
std::vector< std::string > m_Failure
 
std::vector< SETestErrorStatistics * > m_CaseEqualsErrors
 
- Protected Attributes inherited from Loggable
Loggerm_Logger
 

Private Attributes

friend SETestSuite
 

Friends

class PBTestReport
 

Additional Inherited Members

- Static Public Attributes inherited from Loggable
static const std::string empty
 

Constructor & Destructor Documentation

◆ SETestCase() [1/2]

SETestCase::SETestCase ( Logger logger)
protected

◆ SETestCase() [2/2]

SETestCase::SETestCase ( const std::string &  name,
Logger logger 
)
protected

◆ ~SETestCase()

SETestCase::~SETestCase ( )
virtual

Member Function Documentation

◆ AddFailure() [1/2]

void SETestCase::AddFailure ( std::stringstream &  msg)

◆ AddFailure() [2/2]

void SETestCase::AddFailure ( const std::string &  err)

◆ Clear()

void SETestCase::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()

void SETestCase::Reset ( )
virtual

◆ SetName()

void SETestCase::SetName ( const std::string &  name)

Friends And Related Function Documentation

◆ PBTestReport

friend class PBTestReport
friend

Member Data Documentation

◆ m_CaseEqualsErrors

std::vector<SETestErrorStatistics*> SETestCase::m_CaseEqualsErrors
protected

◆ m_Duration

SEScalarTime* SETestCase::m_Duration
protected

◆ m_Failure

std::vector<std::string> SETestCase::m_Failure
protected

◆ m_Name

std::string SETestCase::m_Name
protected

◆ SETestSuite

friend SETestCase::SETestSuite
private