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

Public Member Functions

 IcarusGeometryIteratorTestFixture ()
 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< IcarusGeometryConfiguration >
using SharedGeoPtr_t = GeoResources_t::ResourcePtr_t
 
using ChannelMapClass = typename IcarusGeometryConfiguration::ChannelMapClass
 
- Private Types inherited from testing::BasicTesterEnvironment< IcarusGeometryConfiguration >
using Configuration_t = IcarusGeometryConfiguration
 
- Private Member Functions inherited from testing::GeometryTesterEnvironment< IcarusGeometryConfiguration >
 GeometryTesterEnvironment (bool bSetup=true)
 Constructor: sets everything up and declares the test started. More...
 
virtual ~GeometryTesterEnvironment ()
 Destructor: closing remarks. More...
 
 GeometryTesterEnvironment (IcarusGeometryConfigurationconst &cfg_obj, bool bSetup=true)
 Setup from a configuration. More...
 
 GeometryTesterEnvironment (IcarusGeometryConfiguration &&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< IcarusGeometryConfiguration >
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< IcarusGeometryConfiguration >
 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< IcarusGeometryConfiguration >
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< IcarusGeometryConfiguration >
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< IcarusGeometryConfiguration >
ProviderList providers
 list of available providers More...
 

Detailed Description

Definition at line 50 of file geometry_iterator_icarus_test.cxx.

Constructor & Destructor Documentation

IcarusGeometryIteratorTestFixture::IcarusGeometryIteratorTestFixture ( )
inline

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

Definition at line 57 of file geometry_iterator_icarus_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 IcarusGeometryIteratorTestFixture::Tester

Definition at line 54 of file geometry_iterator_icarus_test.cxx.


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