All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
AtomicNumberTestFixture Struct Reference
Inheritance diagram for AtomicNumberTestFixture:
testing::TesterEnvironment< ConfigurationClass >

Public Member Functions

 AtomicNumberTestFixture ()
 

Public Attributes

lar::example::AtomicNumber const Zprov
 
fhicl::ParameterSet const pset_expected
 

Additional Inherited Members

- Private Types inherited from testing::BasicTesterEnvironment< ConfigurationClass >
using Configuration_t = ConfigurationClass
 
- Private Member Functions inherited from testing::TesterEnvironment< ConfigurationClass >
template<typename Prov , typename... Args>
Prov * SetupProvider (Args &&...args)
 Sets a service provider up by calling its testing::setupProvider() More...
 
template<typename Prov , typename... Args>
Prov * SetupProviderFromService (std::string name, Args &&...args)
 Sets a service provider up by calling its testing::setupProvider() More...
 
template<typename Prov >
Prov * AcquireProvider (std::unique_ptr< Prov > &&prov)
 Acquires a service provider. More...
 
template<typename Interface , typename Prov , typename... Args>
Prov * SetupProviderFor (Args &&...args)
 Sets a provider up, recording it as implementation of Interface. More...
 
template<typename Interface , typename Prov , typename... Args>
Prov * SetupProviderFromServiceFor (std::string name, Args &&...args)
 Sets a provider up, recording it as implementation of Interface. More...
 
template<typename Interface , typename Prov >
Prov * AcquireProviderFor (std::unique_ptr< Prov > &&prov)
 Acquires a service provider implementing an interface. More...
 
template<typename Prov >
Prov * SimpleProviderSetup ()
 Oversimplified provider setup. More...
 
template<typename Prov >
void DropProvider ()
 Removes and destroys the specified provider. More...
 
template<typename Prov >
Prov const * Provider () const
 Return the specified provider (throws if not available) More...
 
template<typename... Provs>
void FillProviderPack (lar::ProviderPack< Provs...> &pack) const
 Fills the specified provider pack with providers. More...
 
template<typename Prov >
Prov::providers_type ProviderPackFor () const
 Returns a provider pack for the specified provider. More...
 
- Private Member Functions inherited from testing::BasicTesterEnvironment< ConfigurationClass >
 BasicTesterEnvironment (bool bSetup=true)
 Constructor: sets everything up and declares the test started. More...
 
virtual ~BasicTesterEnvironment ()
 Destructor: closing remarks. More...
 
 BasicTesterEnvironment (Configuration_t const &configurer, bool bSetup=true)
 Setup from a configuration. More...
 
 BasicTesterEnvironment (Configuration_t &&configurer, bool bSetup=true)
 
fhicl::ParameterSet const & Parameters () const
 Returns the full configuration. More...
 
fhicl::ParameterSet ServiceParameters (std::string service_name) const
 Returns the configuration of the specified service. More...
 
fhicl::ParameterSet TesterParameters (std::string test_name) const
 Returns the configuration of the specified test. More...
 
fhicl::ParameterSet TesterParameters () const
 Returns the configuration of the main test (undefined if no main test) More...
 
Configuration_t const & Config () const
 Returns a read-only version of the configuration. More...
 
virtual void Setup ()
 The complete initialization, ran at construction by default. More...
 
virtual void Configure ()
 Reads and translates the configuration. More...
 
virtual fhicl::ParameterSet DefaultParameters () const
 Creates a full configuration for the test. More...
 
virtual void SetupMessageFacility (fhicl::ParameterSet const &pset, std::string appl_name="") const
 Sets up the message facility. More...
 
virtual void SetupMessageFacility () const
 
- Static Private Member Functions inherited from testing::BasicTesterEnvironment< ConfigurationClass >
static fhicl::ParameterSet CompileParameterSet (std::string cfg)
 Compiles a parameter set from a string. More...
 
static fhicl::ParameterSet ParseParameters (std::string config_path)
 Fills the test configuration from file or from default. More...
 
- Private Attributes inherited from testing::TesterEnvironment< ConfigurationClass >
ProviderList providers
 list of available providers More...
 

Detailed Description

Definition at line 38 of file BoostedAtomicNumber_test.cc.

Constructor & Destructor Documentation

AtomicNumberTestFixture::AtomicNumberTestFixture ( )
inline

Definition at line 41 of file BoostedAtomicNumber_test.cc.

42  : BoostBasicFixture( "BoostedAtomicNumber_test" )
43  , Zprov(ServiceParameters("AtomicNumberService"))
44  , pset_expected(TesterParameters("expected"))
45  {}
testing::TesterEnvironment< testing::BoostCommandLineConfiguration< testing::BasicEnvironmentConfiguration > > BoostBasicFixture
fhicl::ParameterSet ServiceParameters(std::string service_name) const
Returns the configuration of the specified service.
fhicl::ParameterSet TesterParameters() const
Returns the configuration of the main test (undefined if no main test)
fhicl::ParameterSet const pset_expected
lar::example::AtomicNumber const Zprov

Member Data Documentation

fhicl::ParameterSet const AtomicNumberTestFixture::pset_expected

Definition at line 51 of file BoostedAtomicNumber_test.cc.

lar::example::AtomicNumber const AtomicNumberTestFixture::Zprov

Definition at line 48 of file BoostedAtomicNumber_test.cc.


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