Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
initGaudi.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TEST_INITGAUDI_H
6 # define TEST_INITGAUDI_H
7 
13 #include <string>
14 #include "GaudiKernel/SmartIF.h"
15 
16 #undef NDEBUG
17 
18 class ISvcLocator;
19 
20 
21 namespace Athena_test {
28  bool initGaudi(ISvcLocator*& pSvcLoc);
29 
37  bool initGaudi(const std::string& jobOptsFile, ISvcLocator*& pSvcLoc);
38 
39 
50  class InitGaudi {
51  public:
56  InitGaudi(const std::string& jobOptsFile);
57 
61  InitGaudi() : InitGaudi("") {}
62 
66  ~InitGaudi();
67 
68  SmartIF<ISvcLocator> svcLoc;
69  };
70 
71 }
72 #endif // TEST_INITGAUDI_H
Athena_test::InitGaudi::~InitGaudi
~InitGaudi()
Finalize Gaudi.
Definition: initGaudi.cxx:112
Athena_test::InitGaudi::InitGaudi
InitGaudi()
Create Gaudi test fixture without job options.
Definition: initGaudi.h:61
Athena_test::InitGaudi
Generic test fixture to setup Gaudi.
Definition: initGaudi.h:50
Athena_test
functions & macros to test the difference between floats
Definition: InitGaudiGoogleTest.h:30
Athena_test::initGaudi
bool initGaudi(ISvcLocator *&pSvcLoc)
Minimal Gaudi initialization for unit testing without job options.
Definition: initGaudi.cxx:28
Athena_test::InitGaudi::svcLoc
SmartIF< ISvcLocator > svcLoc
Definition: initGaudi.h:68