24 UnitTestTool2 (
const std::string& val_name)
41 StatusCode UnitTestTool2 ::
58 return StatusCode::SUCCESS;
64 toolHandleEmpty (
const std::string& handleName)
const
66 if (handleName ==
"regPublicHandle")
68 if (handleName ==
"regPrivateHandle")
70 if (handleName ==
"anaPublicHandle")
72 if (handleName ==
"anaPrivateHandle")
74 throw std::runtime_error (
"unknown handle: " + handleName);
80 getToolHandle (
const std::string& handleName)
const
82 if (handleName ==
"regPublicHandle")
84 if (handleName ==
"regPrivateHandle")
86 if (handleName ==
"anaPublicHandle")
88 if (handleName ==
"anaPrivateHandle")
90 throw std::runtime_error (
"unknown handle: " + handleName);
95 StatusCode UnitTestTool2 ::
96 retrieveToolHandle (
const std::string& handleName)
const
98 if (handleName ==
"regPublicHandle")
100 if (handleName ==
"regPrivateHandle")
102 throw std::runtime_error (
"unknown handle: " + handleName);
107 bool UnitTestTool2 ::
108 wasUserConfigured (
const std::string& handleName)
const
110 if (handleName ==
"anaPublicHandle")
112 if (handleName ==
"anaPrivateHandle")
114 throw std::runtime_error (
"unknown handle: " + handleName);
119 const ToolHandleArray<IUnitTestTool1>& UnitTestTool2 ::
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)