#include <SETestSuite.h>

Inherits Loggable.

Public Member Functions

virtual ~SETestSuite ()
 
virtual void Reset ()
 
virtual void Clear ()
 
void SetName (const std::string &Name)
 
std::string GetName () const
 
void PerformSuite (bool Performed)
 
bool PerformedSuite ()
 
const SEScalarTimeGetDuration () const
 
std::vector< std::string > & GetRequirements ()
 
SETestCaseCreateTestCase ()
 
const std::vector< SETestCase * > & GetTestCases () const
 
size_t GetNumberOfErrors () 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

 SETestSuite (Logger *logger)
 

Protected Attributes

bool m_Performed
 
std::string m_Name
 
std::vector< std::string > m_Requirements
 
std::vector< SETestErrorStatistics * > m_SuiteEqualError
 
std::vector< SETestCase * > m_TestCase
 
SEScalarTimem_Time
 
- Protected Attributes inherited from Loggable
Loggerm_Logger
 

Private Attributes

friend SETestReport
 

Friends

class PBTestReport
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ SETestSuite()

SETestSuite::SETestSuite ( Logger logger)
protected

◆ ~SETestSuite()

SETestSuite::~SETestSuite ( )
virtual

Member Function Documentation

◆ Clear()

void SETestSuite::Clear ( )
virtual

◆ CreateTestCase()

SETestCase & SETestSuite::CreateTestCase ( )

◆ GetDuration()

const SEScalarTime & SETestSuite::GetDuration ( ) const

◆ GetName()

std::string SETestSuite::GetName ( ) const

◆ GetNumberOfErrors()

size_t SETestSuite::GetNumberOfErrors ( ) const

◆ GetRequirements()

std::vector< std::string > & SETestSuite::GetRequirements ( )

◆ GetTestCases()

const std::vector< SETestCase * > & SETestSuite::GetTestCases ( ) const

◆ PerformedSuite()

bool SETestSuite::PerformedSuite ( )

◆ PerformSuite()

void SETestSuite::PerformSuite ( bool  Performed)

◆ Reset()

void SETestSuite::Reset ( )
virtual

◆ SetName()

void SETestSuite::SetName ( const std::string &  Name)

Friends And Related Function Documentation

◆ PBTestReport

friend class PBTestReport
friend

Member Data Documentation

◆ m_Name

std::string SETestSuite::m_Name
protected

◆ m_Performed

bool SETestSuite::m_Performed
protected

◆ m_Requirements

std::vector<std::string> SETestSuite::m_Requirements
protected

◆ m_SuiteEqualError

std::vector<SETestErrorStatistics*> SETestSuite::m_SuiteEqualError
protected

◆ m_TestCase

std::vector<SETestCase*> SETestSuite::m_TestCase
protected

◆ m_Time

SEScalarTime* SETestSuite::m_Time
mutableprotected

◆ SETestReport

friend SETestSuite::SETestReport
private