Class holding a configuration for a Boost test fixture. More...
#include <boost_unit_test_base.h>
Public Types | |
using | Base_t = CONFIGURATIONCLASS |
using | Base_t = CONFIGURATIONCLASS |
Public Member Functions | |
BoostCommandLineConfiguration () | |
Default constructor; this is what is used in Boost unit test. More... | |
BoostCommandLineConfiguration (std::string name) | |
Constructor; accepts the name as parameter. More... | |
BoostCommandLineConfiguration () | |
Default constructor; this is what is used in Boost unit test. More... | |
BoostCommandLineConfiguration (std::string name) | |
Constructor; accepts the name as parameter. More... | |
Protected Member Functions | |
void | ParseCommandLineFromBoost () |
Parses arguments as delivered by Boost. More... | |
void | ParseCommandLineFromBoost () |
Parses arguments as delivered by Boost. More... | |
Class holding a configuration for a Boost test fixture.
CONFIGURATIONCLASS | a base configuration class |
This class needs to be fully constructed by the default constructor in order to be useful as Boost unit test fixture. It is supposed to be passed as a template parameter to another class that can store an instance of it and extract configuration information from it.
This template just adds to the standard construction of the wrapped class a configuration that reads the parameters from the command line. It also hides all the constructors except two.
Definition at line 53 of file boost_unit_test_base.h.
using testing::BoostCommandLineConfiguration< CONFIGURATIONCLASS >::Base_t = CONFIGURATIONCLASS |
Definition at line 55 of file boost_unit_test_base.h.
using testing::BoostCommandLineConfiguration< CONFIGURATIONCLASS >::Base_t = CONFIGURATIONCLASS |
Definition at line 55 of file boost_unit_test_base.h.
|
inline |
Default constructor; this is what is used in Boost unit test.
Definition at line 58 of file boost_unit_test_base.h.
|
inline |
Constructor; accepts the name as parameter.
Definition at line 62 of file boost_unit_test_base.h.
|
inline |
Default constructor; this is what is used in Boost unit test.
Definition at line 58 of file boost_unit_test_base.h.
|
inline |
Constructor; accepts the name as parameter.
Definition at line 62 of file boost_unit_test_base.h.
|
inlineprotected |
|
inlineprotected |