All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
SBNDGeometryIteratorTestFixture Class Reference
Inheritance diagram for SBNDGeometryIteratorTestFixture:
testing::GeometryTesterEnvironment< SBNDGeometryConfiguration >

Public Member Functions

 SBNDGeometryIteratorTestFixture ()
 Constructor: initialize the tester with the Geometry from base class. More...
 

Public Attributes

geo::GeometryIteratorTestAlg Tester
 

Additional Inherited Members

- Private Types inherited from testing::GeometryTesterEnvironment< SBNDGeometryConfiguration >
using SharedGeoPtr_t = GeoResources_t::ResourcePtr_t
 
using ChannelMapClass = typename SBNDGeometryConfiguration::ChannelMapClass
 
- Private Types inherited from testing::BasicTesterEnvironment< SBNDGeometryConfiguration >
using Configuration_t = SBNDGeometryConfiguration
 
- Private Member Functions inherited from testing::GeometryTesterEnvironment< SBNDGeometryConfiguration >
 GeometryTesterEnvironment (bool bSetup=true)
 Constructor: sets everything up and declares the test started. More...
 
virtual ~GeometryTesterEnvironment ()
 Destructor: closing remarks. More...
 
 GeometryTesterEnvironment (SBNDGeometryConfigurationconst &cfg_obj, bool bSetup=true)
 Setup from a configuration. More...
 
 GeometryTesterEnvironment (SBNDGeometryConfiguration &&cfg_obj, bool bSetup=true)
 
geo::GeometryCore const * Geometry () const
 Returns a pointer to the geometry. More...
 
SharedGeoPtr_t SharedGeometry () const
 
virtual void Setup ()
 The complete initialization, ran at construction by default. More...
 
virtual std::unique_ptr
< geo::GeometryCore
CreateNewGeometry () const
 Creates a new geometry. More...
 
virtual void SetupGeometry ()
 Sets up the geometry (creates and registers it) More...
 
virtual void RegisterGeometry (SharedGeoPtr_t new_geom)
 Get ownership of the specified geometry and registers it as global. More...
 
virtual void RegisterGeometry (geo::GeometryCore const *new_geom)
 
- Private Member Functions inherited from testing::TesterEnvironment< SBNDGeometryConfiguration >
Prov * SetupProvider (Args &&...args)
 Sets a service provider up by calling its testing::setupProvider() More...
 
Prov * SetupProviderFromService (std::string name, Args &&...args)
 Sets a service provider up by calling its testing::setupProvider() More...
 
Prov * AcquireProvider (std::unique_ptr< Prov > &&prov)
 Acquires a service provider. More...
 
Prov * SetupProviderFor (Args &&...args)
 Sets a provider up, recording it as implementation of Interface. More...
 
Prov * SetupProviderFromServiceFor (std::string name, Args &&...args)
 Sets a provider up, recording it as implementation of Interface. More...
 
Prov * AcquireProviderFor (std::unique_ptr< Prov > &&prov)
 Acquires a service provider implementing an interface. More...
 
Prov * SimpleProviderSetup ()
 Oversimplified provider setup. More...
 
void DropProvider ()
 Removes and destroys the specified provider. More...
 
Prov const * Provider () const
 Return the specified provider (throws if not available) More...
 
void FillProviderPack (lar::ProviderPack< Provs...> &pack) const
 Fills the specified provider pack with providers. More...
 
Prov::providers_type ProviderPackFor () const
 Returns a provider pack for the specified provider. More...
 
- Private Member Functions inherited from testing::BasicTesterEnvironment< SBNDGeometryConfiguration >
 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 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::GeometryTesterEnvironment< SBNDGeometryConfiguration >
static geo::GeometryCore const * GlobalGeometry ()
 
static SharedGeoPtr_t SharedGlobalGeometry ()
 Returns the current global geometry instance (may be nullptr if none) More...
 
- Static Private Member Functions inherited from testing::BasicTesterEnvironment< SBNDGeometryConfiguration >
static fhicl::ParameterSet CompileParameterSet (std::string cfg)
 
static fhicl::ParameterSet ParseParameters (std::string config_path)
 Fills the test configuration from file or from default. More...
 
- Private Attributes inherited from testing::TesterEnvironment< SBNDGeometryConfiguration >
ProviderList providers
 list of available providers More...
 

Detailed Description

Definition at line 50 of file geometry_iterator_sbnd_test.cxx.

Constructor & Destructor Documentation

SBNDGeometryIteratorTestFixture::SBNDGeometryIteratorTestFixture ( )
inline

Constructor: initialize the tester with the Geometry from base class.

Definition at line 57 of file geometry_iterator_sbnd_test.cxx.

58  { Tester.Setup(*Geometry()); }
virtual void Setup(geo::GeometryCore const &new_geo)
Algorithm set up.
fhicl::ParameterSet TesterParameters() const
Returns the configuration of the main test (undefined if no main test)
geo::GeometryCore const * Geometry() const
Returns a pointer to the geometry.

Member Data Documentation

geo::GeometryIteratorTestAlg SBNDGeometryIteratorTestFixture::Tester

Definition at line 54 of file geometry_iterator_sbnd_test.cxx.


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