LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Class holding a configuration for a Boost test fixture. More...
#include "boost_unit_test_base.h"
Public Types | |
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... | |
Protected Member Functions | |
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 51 of file boost_unit_test_base.h.
using testing::BoostCommandLineConfiguration< CONFIGURATIONCLASS >::Base_t = CONFIGURATIONCLASS |
Definition at line 53 of file boost_unit_test_base.h.
|
inline |
Default constructor; this is what is used in Boost unit test.
Definition at line 56 of file boost_unit_test_base.h.
References testing::BoostCommandLineConfiguration< CONFIGURATIONCLASS >::ParseCommandLineFromBoost().
|
inline |
Constructor; accepts the name as parameter.
Definition at line 59 of file boost_unit_test_base.h.
References testing::BoostCommandLineConfiguration< CONFIGURATIONCLASS >::ParseCommandLineFromBoost().
|
inlineprotected |
Parses arguments as delivered by Boost.
Definition at line 63 of file boost_unit_test_base.h.
Referenced by testing::BoostCommandLineConfiguration< CONFIGURATIONCLASS >::BoostCommandLineConfiguration().