OpenLexocad  27.0
Base::TestRunnerSingleton Class Referenceabstract

#include <TestRunner.h>

Public Types

enum  OutPutType { ASCII, XML }
 

Public Member Functions

 TestRunnerSingleton::TestRunnerSingleton ()
 
 TestRunnerSingleton::~TestRunnerSingleton ()
 
virtual void printResult ()
 
virtual void setTestExclusive (const std::string &testName, bool yesno)=0
 
virtual bool run (bool loadTestTxtFile=true)=0
 
virtual void setOutPutStream (std::ostream &stream, OutPutType otype)=0
 
virtual void setSuites (QStringList &suites)=0
 

Static Public Member Functions

static TestRunnerSingletoninstance ()
 

Static Protected Attributes

static TestRunnerSingleton_instance
 

Member Enumeration Documentation

◆ OutPutType

Enumerator
ASCII 
XML 

Constructor & Destructor Documentation

◆ TestRunnerSingleton::~TestRunnerSingleton()

Base::TestRunnerSingleton::TestRunnerSingleton::~TestRunnerSingleton ( )

Member Function Documentation

◆ instance()

static TestRunnerSingleton& Base::TestRunnerSingleton::instance ( )
static

◆ printResult()

virtual void Base::TestRunnerSingleton::printResult ( )
virtual

◆ run()

virtual bool Base::TestRunnerSingleton::run ( bool  loadTestTxtFile = true)
pure virtual

◆ setOutPutStream()

virtual void Base::TestRunnerSingleton::setOutPutStream ( std::ostream &  stream,
OutPutType  otype 
)
pure virtual

◆ setSuites()

virtual void Base::TestRunnerSingleton::setSuites ( QStringList &  suites)
pure virtual

◆ setTestExclusive()

virtual void Base::TestRunnerSingleton::setTestExclusive ( const std::string &  testName,
bool  yesno 
)
pure virtual

◆ TestRunnerSingleton::TestRunnerSingleton()

Base::TestRunnerSingleton::TestRunnerSingleton::TestRunnerSingleton ( )

Member Data Documentation

◆ _instance

TestRunnerSingleton* Base::TestRunnerSingleton::_instance
staticprotected

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