Environment setup helper for ShowerCalibrationGaloreFromPID. More...
#include <ShowerCalibrationGaloreFromPIDTestHelpers.h>
Static Public Member Functions | |
static lar::example::ShowerCalibrationGaloreFromPID * | setup (TestEnv &env) |
Environment setup helper for ShowerCalibrationGaloreFromPID.
TestEnv | type of environment to set up |
A service provider is set up in the environment, associated with the types lar::example::ShowerCalibrationGaloreFromPID. Its configuration is read from "services.ShowerCalibrationGaloreService".
The environment is expected to expose an interface equivalent to the one of testing::TesterEnvironment
.
This class specialisation enables the support of SimpleProviderSetup()
methods of testing::TesterEnvironment
. It should be possible to set up a testing environment by calling:
env.SimpleProviderSetup<lar::example::ShowerCalibrationGaloreFromPID>();
The provider will be available from any of these two calls:
env.Provider<lar::example::ShowerCalibrationGaloreFromPID>(); env.Provider<lar::example::ShowerCalibrationGalore>();
Definition at line 62 of file ShowerCalibrationGaloreFromPIDTestHelpers.h.
|
inlinestatic |
Definition at line 65 of file ShowerCalibrationGaloreFromPIDTestHelpers.h.