![]() |
ATLAS Offline Software
|
a service used to unit test AnaToolHandle More...
#include <UnitTestService1.h>
Public Member Functions | |
| UnitTestService1 (const std::string &name, ISvcLocator *pSvcLocator) | |
| standard constructor | |
| ~UnitTestService1 () | |
| standard destructor | |
| virtual StatusCode | initialize () override |
| virtual std::string | getPropertyString () const override |
| virtual int | getPropertyInt () const override |
| virtual void | setPropertyInt (int val_property) override |
| virtual bool | isInitialized () const override |
Private Attributes | |
| bool | m_isInitialized {false} |
| whether initialize has been called | |
| Gaudi::Property< std::string > | m_propertyString {this, "propertyString", {}, "the string property"} |
| the string property | |
| Gaudi::Property< int > | m_propertyInt {this, "propertyInt", -7, "the integer property"} |
| the integer property | |
| Gaudi::Property< bool > | m_initializeFail {this, "initializeFail", false, "whether initialize should fail"} |
| whether initialize should fail | |
a service used to unit test AnaToolHandle
This allows to unit test the various capabilities of AnaToolHandle in a controlled fashion.
Definition at line 23 of file UnitTestService1.h.
| asg::UnitTestService1::UnitTestService1 | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
standard constructor
Definition at line 22 of file UnitTestService1.cxx.
| asg::UnitTestService1::~UnitTestService1 | ( | ) |
standard destructor
Definition at line 31 of file UnitTestService1.cxx.
|
overridevirtual |
Definition at line 70 of file UnitTestService1.cxx.
|
overridevirtual |
Definition at line 62 of file UnitTestService1.cxx.
|
overridevirtual |
Definition at line 39 of file UnitTestService1.cxx.
|
overridevirtual |
Definition at line 86 of file UnitTestService1.cxx.
|
overridevirtual |
Definition at line 78 of file UnitTestService1.cxx.
|
private |
whether initialize should fail
Definition at line 49 of file UnitTestService1.h.
|
private |
|
private |
the integer property
Definition at line 46 of file UnitTestService1.h.
|
private |
the string property
Definition at line 43 of file UnitTestService1.h.