MQLUNIT
Public Member Functions | List of all members
MQLUNIT_TestListener Class Referenceabstract

A Listener for test progress. More...

Inheritance diagram for MQLUNIT_TestListener:
Inheritance graph
[legend]

Public Member Functions

 MQLUNIT_TestListener ()
 Constructor. More...
 
virtual ~MQLUNIT_TestListener ()
 Destructor. More...
 
virtual void addFailure (MQLUNIT_TestFailure *failure)=0
 Failure occurred event. More...
 
virtual void startSuite (MQLUNIT_Test *test)=0
 Test suite started event. More...
 
virtual void endSuite (MQLUNIT_Test *test)=0
 Test suite ended event. More...
 
virtual void startTest (MQLUNIT_Test *test, const string name)=0
 Test started event. More...
 
virtual void endTest (MQLUNIT_Test *test, const string name)=0
 Test ended event. More...
 

Detailed Description

A Listener for test progress.

Constructor & Destructor Documentation

◆ MQLUNIT_TestListener()

MQLUNIT_TestListener::MQLUNIT_TestListener ( )
inline

Constructor.

◆ ~MQLUNIT_TestListener()

virtual MQLUNIT_TestListener::~MQLUNIT_TestListener ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ addFailure()

virtual void MQLUNIT_TestListener::addFailure ( MQLUNIT_TestFailure failure)
pure virtual

Failure occurred event.

Parameters
failure: failure details
See also
MQLUNIT_TestFailure

Implemented in MQLUNIT_XMLTestRunner, MQLUNIT_TextFileTestRunner, MQLUNIT_TestResult, MQLUNIT_TerminalTestRunner, and MQLUNIT_ConsoleTestRunner.

◆ endSuite()

virtual void MQLUNIT_TestListener::endSuite ( MQLUNIT_Test test)
pure virtual

Test suite ended event.

Parameters
test: test case reference

Implemented in MQLUNIT_XMLTestRunner, MQLUNIT_TextFileTestRunner, MQLUNIT_TestResult, MQLUNIT_TerminalTestRunner, and MQLUNIT_ConsoleTestRunner.

◆ endTest()

virtual void MQLUNIT_TestListener::endTest ( MQLUNIT_Test test,
const string  name 
)
pure virtual

Test ended event.

Parameters
test: test case reference
name: name of a test

Implemented in MQLUNIT_XMLTestRunner, MQLUNIT_TextFileTestRunner, MQLUNIT_TestResult, MQLUNIT_TerminalTestRunner, and MQLUNIT_ConsoleTestRunner.

◆ startSuite()

virtual void MQLUNIT_TestListener::startSuite ( MQLUNIT_Test test)
pure virtual

Test suite started event.

Parameters
test: test case reference

Implemented in MQLUNIT_XMLTestRunner, MQLUNIT_TextFileTestRunner, MQLUNIT_TestResult, MQLUNIT_TerminalTestRunner, and MQLUNIT_ConsoleTestRunner.

◆ startTest()

virtual void MQLUNIT_TestListener::startTest ( MQLUNIT_Test test,
const string  name 
)
pure virtual

Test started event.

Parameters
test: test case reference
name: name of a test

Implemented in MQLUNIT_XMLTestRunner, MQLUNIT_TextFileTestRunner, MQLUNIT_TestResult, MQLUNIT_TerminalTestRunner, and MQLUNIT_ConsoleTestRunner.


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

Copyright © 2017 Eneset Group Trust