edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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.
 
virtual ~OutputHandler ()
 the descructor of this output handler
 
virtual void startTestRun (TestEngine *engine)
 This method is called if the test run is started.
 
virtual void endTestRun (TestEngine *engine)
 This method is called if the test run is completed.
 
virtual void startTestCase (TestEngine *engine)
 This method is called if a testcase is started.
 
virtual void endTestCase (TestEngine *engine)
 This method is called if a testcase is ended.
 
virtual void startTestMethod (TestEngine *engine)
 This method is called if a test method is started.
 
virtual void endTestMethod (TestEngine *engine)
 This method is called if a test method is ended.
 
virtual void testResultAdded (TestEngine *engine, TestResult *testResult)
 This method is called if a test result is added.
 

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: