Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
Launch< TEST > Class Template Reference

#include "lib/test/run.hpp"

Description

template<class TEST>
class test::Launch< TEST >

Helper class for running a collection of tests.

Launch objects are functors, which create on invocation an instance of the Test class they were created with. Creating such a Test Launcher internally registers this testcase with the Testsuite-Class, optionally under several groups (=categories, suite selections).

Note
a subclass of Launcher

Definition at line 88 of file run.hpp.

Public Member Functions

 Launch (string testID, string groups)
 
virtual shared_ptr< TestmakeInstance () override
 
- Public Member Functions inherited from Launcher
virtual ~Launcher ()=default
 

Constructor & Destructor Documentation

◆ Launch()

template<class TEST >
Launch ( string  testID,
string  groups 
)
inline

Definition at line 91 of file run.hpp.

References Suite::enrol().

+ Here is the call graph for this function:

Member Function Documentation

◆ makeInstance()

template<class TEST >
virtual shared_ptr< Test > makeInstance ( )
inlineoverridevirtual

Implements Launcher.

Definition at line 97 of file run.hpp.

References TEST.

+ Inheritance diagram for Launch< TEST >:
+ Collaboration diagram for Launch< TEST >:

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