a tool used to unit test AnaToolHandle More...
#include <UnitTestTool2.h>
Public Member Functions | |
UnitTestTool2 (const std::string &val_name) | |
standard constructor | |
StatusCode | initialize () override |
virtual bool | toolHandleEmpty (const std::string &handleName) const override |
whether the given ToolHandle is empty | |
virtual const IUnitTestTool1 * | getToolHandle (const std::string &handleName) const override |
get the tool from the regular ToolHandle | |
virtual StatusCode | retrieveToolHandle (const std::string &handleName) const override |
call retrieve on the regular ToolHandle | |
virtual bool | wasUserConfigured (const std::string &handleName) const override |
whether the AnaToolHandle was user configured | |
Public Attributes | |
ToolHandle< IUnitTestTool1 > | m_regPublicHandle |
ToolHandle< IUnitTestTool1 > | m_regPrivateHandle |
AnaToolHandle< IUnitTestTool1 > | m_anaPublicHandle |
AnaToolHandle< IUnitTestTool1 > | m_anaPrivateHandle |
a tool used to unit test AnaToolHandle
This allows to unit test anything that happens in conjunction with a tool holding a ToolHandle/AnaToolHandle.
StatusCode asg::UnitTestTool2::initialize | ( | void | ) | [override, virtual] |
Dummy implementation of the initialisation function
It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...
Reimplemented from asg::AsgTool.