Environment setup helper for ShowerCalibrationGaloreScale. More...
#include <ShowerCalibrationGaloreScaleTestHelpers.h>
Static Public Member Functions | |
static lar::example::ShowerCalibrationGaloreScale * | setup (TestEnv &env) |
Environment setup helper for ShowerCalibrationGaloreScale.
TestEnv | type of environment to set up |
A service provider is set up in the environment, associated with the types lar::example::ShowerCalibrationGaloreScale. 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::ShowerCalibrationGaloreScale>();
The provider will be available from any of these two calls:
env.Provider<lar::example::ShowerCalibrationGaloreScale>(); env.Provider<lar::example::ShowerCalibrationGalore>();
Definition at line 61 of file ShowerCalibrationGaloreScaleTestHelpers.h.
|
inlinestatic |
Definition at line 64 of file ShowerCalibrationGaloreScaleTestHelpers.h.