a tool used to unit test AnaToolHandle More...
#include <UnitTestTool1A.h>
Public Member Functions | |
| UnitTestTool1A (const std::string &val_name) | |
| standard constructor | |
| StatusCode | initialize () override |
| virtual std::string | getPropertyString () const override |
| get the integer property | |
| virtual int | getPropertyInt () const override |
| get the integer property | |
| virtual void | setPropertyInt (int val_property) override |
| get the integer property | |
| virtual bool | isInitialized () const override |
| get whether we have been initialized | |
Public Attributes | |
| bool | m_isInitialized = false |
| whether initialize has been called | |
| std::string | m_propertyString |
| the string property | |
| int | m_propertyInt = -7 |
| the integer property | |
| bool | m_initializeFail = false |
| whether initialize should fail | |
a tool used to unit test AnaToolHandle
This allows to unit test the various capabilities of AnaToolHandle in a controlled fashion.
| StatusCode asg::UnitTestTool1A::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.
1.6.1