edbee - Qt Editor Library
Public Member Functions | List of all members
edbee::test::OutputHandler Class Reference

This is the basic outputhandler. The basic outputhandler simply executes a qDebug with the given information. More...

#include <test.h>

+ Collaboration diagram for edbee::test::OutputHandler:

Public Member Functions

 OutputHandler ()
 The output handler constructor of this test. More...
 
virtual ~OutputHandler ()
 the descructor of this output handler More...
 
virtual void startTestRun (TestEngine *engine)
 This method is called if the test run is started. More...
 
virtual void endTestRun (TestEngine *engine)
 This method is called if the test run is completed. More...
 
virtual void startTestCase (TestEngine *engine)
 This method is called if a testcase is started. More...
 
virtual void endTestCase (TestEngine *engine)
 This method is called if a testcase is ended. More...
 
virtual void startTestMethod (TestEngine *engine)
 This method is called if a test method is started. More...
 
virtual void endTestMethod (TestEngine *engine)
 This method is called if a test method is ended. More...
 
virtual void testResultAdded (TestEngine *engine, TestResult *testResult)
 This method is called if a test result is added. More...
 

Detailed Description

This is the basic outputhandler. The basic outputhandler simply executes a qDebug with the given information.

Constructor & Destructor Documentation

◆ OutputHandler()

edbee::test::OutputHandler::OutputHandler ( )
explicit

The output handler constructor of this test.

◆ ~OutputHandler()

edbee::test::OutputHandler::~OutputHandler ( )
virtual

the descructor of this output handler

Member Function Documentation

◆ endTestCase()

void edbee::test::OutputHandler::endTestCase ( TestEngine engine)
virtual

This method is called if a testcase is ended.

Parameters
enginethe test engine

◆ endTestMethod()

void edbee::test::OutputHandler::endTestMethod ( TestEngine engine)
virtual

This method is called if a test method is ended.

Parameters
enginethe test engine

◆ endTestRun()

void edbee::test::OutputHandler::endTestRun ( TestEngine engine)
virtual

This method is called if the test run is completed.

Parameters
enginethe test engine

◆ startTestCase()

void edbee::test::OutputHandler::startTestCase ( TestEngine engine)
virtual

This method is called if a testcase is started.

Parameters
enginethe test engine

◆ startTestMethod()

void edbee::test::OutputHandler::startTestMethod ( TestEngine engine)
virtual

This method is called if a test method is started.

Parameters
enginethe test engine

◆ startTestRun()

void edbee::test::OutputHandler::startTestRun ( TestEngine engine)
virtual

This method is called if the test run is started.

Parameters
enginethe test engine

◆ testResultAdded()

void edbee::test::OutputHandler::testResultAdded ( TestEngine engine,
TestResult testResult 
)
virtual

This method is called if a test result is added.

Parameters
enginethe test engine
testResultthe testresult of this operation

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