Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
Registry Class Reference

Description

helper to collect and manage the test cases.

Every testcase class should create a Launch instance, which causes a call to Suite::enrol(), so we can add a pointer to this Launcher into a map indexed by the provided testIDs and groupIDs. This enables us to build a Suite instance for any requested group and then instantiate and invoke individual testcases accordingly.

Definition at line 70 of file suite.cpp.

Public Member Functions

 Registry ()
 
PTestMapgetGroup (string grpID)
 
void add2group (Launcher *test, string testID, string groupID)
 

Private Attributes

GroupMap groups_
 

Constructor & Destructor Documentation

◆ Registry()

Registry ( )
inline

Definition at line 75 of file suite.cpp.

Member Function Documentation

◆ getGroup()

PTestMap & getGroup ( string  grpID)
inline

Definition at line 78 of file suite.cpp.

Referenced by Suite::Suite(), Suite::describe(), and Suite::run().

+ Here is the caller graph for this function:

◆ add2group()

void add2group ( Launcher test,
string  testID,
string  groupID 
)
inline

Definition at line 84 of file suite.cpp.

Referenced by Suite::enrol().

+ Here is the caller graph for this function:

Member Data Documentation

◆ groups_

GroupMap groups_
private

Definition at line 72 of file suite.cpp.

+ Collaboration diagram for Registry:

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