#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
 
const SEScalarTimeGetDuration () const
 
std::vector< std::string > & GetRequirements ()
 
SETestCaseCreateTestCase (const std::string &name="")
 
const std::vector< SETestCase * > & GetTestCases () const
 
size_t GetNumberOfErrors () const
 
- Public Member Functions inherited from Loggable
 Loggable (Logger *logger=nullptr)
 
 Loggable (std::string const &logfile)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () 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

 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
bool myLogger
 
Loggerm_Logger
 

Private Attributes

friend SETestReport
 

Friends

class PBTestReport
 

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 ( const std::string &  name = "")

◆ 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 ( ) const

◆ 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

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.