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

Description

Test runner and basic definitions for tests.

Namespaces

namespace  anonymous_namespace{suite.cpp}
 

Typedefs

using Arg = std::vector< string > &
 
typedef map< string, Launcher * > TestMap
 
typedef shared_ptr< TestMapPTestMap
 
typedef map< string, PTestMapGroupMap
 
using opt_uint64 = std::optional< uint64_t >
 

Classes

class  Launch
 Helper class for running a collection of tests. More...
 
class  Launcher
 interface: generic testcase creating functor. More...
 
class  Suite
 Enables running a collection of tests. More...
 
class  Test
 Abstract Base Class for all testcases. More...
 
class  TestOption
 Support for selecting and configuring testcases via commandline arguments. More...
 
class  TestOption_test
 invokes the TestOption parser for various example commandlines More...
 

Functions

ostream & operator<< (ostream &os, const TestOption &to)
 for outputting the help messages.
 
 LAUNCHER (TestOption_test, "function common")
 

Typedef Documentation

◆ Arg

typedef std::vector< string > & Arg

Definition at line 45 of file run.hpp.

◆ TestMap

typedef map<string, Launcher*> TestMap

Definition at line 55 of file suite.cpp.

◆ PTestMap

typedef shared_ptr<TestMap> PTestMap

Definition at line 56 of file suite.cpp.

◆ GroupMap

typedef map<string,PTestMap> GroupMap

Definition at line 57 of file suite.cpp.

◆ opt_uint64

using opt_uint64 = std::optional<uint64_t>

Definition at line 43 of file suite.hpp.

Function Documentation

◆ operator<<()

ostream & operator<< ( ostream &  os,
const TestOption to 
)

for outputting the help messages.

Forward accumulated help messages from all contained option definitions

Definition at line 136 of file testoption.cpp.

◆ LAUNCHER()

LAUNCHER ( TestOption_test  ,
"function common"   
)