Classes | Namespaces | Functions
ProviderTestHelpers.h File Reference
#include <functional>
#include <memory>
#include <string>
#include <utility>

Go to the source code of this file.

Classes

struct  testing::DefaultSetupProviderClass< Prov >
 A default implementation for provider setup class. More...
 
struct  testing::ProviderSetupClass< Prov >
 Class to create and set up a new provider. More...
 
struct  testing::SimpleEnvironmentSetupClass< Prov, TestEnv >
 Environment helper to set up a service provider. More...
 

Namespaces

 testing
 LArSoft test utilities.
 

Functions

template<typename Prov , typename... Args>
std::unique_ptr< Prov > testing::setupProvider (Args &&...args)
 Function calling ProviderSetup<>::setup for the specified provider. More...
 
template<typename Prov , typename Interface , typename TestEnv >
Prov * testing::SimpleEnvironmentStandardSetupByName (TestEnv &env, std::string service_name)
 Basic implementation of a environment setup helper. More...
 
template<typename Prov , typename TestEnv >
Prov * testing::SimpleEnvironmentStandardSetupByName (TestEnv &env, std::string service_name)
 
template<typename Prov , typename TestEnv >
Prov * testing::simpleEnvironmentSetup (TestEnv &env)
 Sets up a provider in a specified test environment. More...