AnCH Framework 0.1
Another C++ Hack Framework
 
Loading...
Searching...
No Matches
anch::ut::Runner Class Referenceabstract

Unit tests runner. More...

#include <runner.hpp>

+ Inheritance diagram for anch::ut::Runner:
+ Collaboration diagram for anch::ut::Runner:

Public Member Functions

virtual bool startup ()=0
 
virtual bool shutdown ()=0
 
virtual uint16_t test (const std::string &test)=0
 

Detailed Description

Unit tests runner.

Vitual class which define tests runner

Author
Vincent Lachenal
Since
0.1

Member Function Documentation

◆ shutdown()

virtual bool anch::ut::Runner::shutdown ( )
pure virtual

Shutdown test runner

Returns
true when shutdown is OK, false otherwise

Implemented in anch::ut::DefaultRunner, and anch::ut::SocketClientRunner.

◆ startup()

virtual bool anch::ut::Runner::startup ( )
pure virtual

Startup test runner

Returns
true when startup is OK, false otherwise

Implemented in anch::ut::DefaultRunner, and anch::ut::SocketClientRunner.

◆ test()

virtual uint16_t anch::ut::Runner::test ( const std::string & test)
pure virtual

Run test

Parameters
testthe test to run
Returns
0 when OK, 1 when test has not ben registered, 2 when before test processing failed, 3 when test failed and 4 when after test processing failed

Implemented in anch::ut::DefaultRunner, and anch::ut::SocketClientRunner.

+ Here is the call graph for this function:

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