ATLAS Offline Software
InitGaudiGoogleTest.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 // -*- mode: c++ -*-
5 
16 #ifndef GOOGLETESTTOOLS_INITGAUDIGOOGLETEST_H
17 #define GOOGLETESTTOOLS_INITGAUDIGOOGLETEST_H
18 
19 #include "GaudiKernel/IMessageSvc.h"
20 #include "GaudiKernel/SmartIF.h"
21 #include "GaudiKernel/IProperty.h"
22 #include "GaudiKernel/ISvcLocator.h"
23 #include "GaudiKernel/ISvcManager.h"
24 #include "GaudiKernel/IToolSvc.h"
25 
26 #include "gtest/gtest.h"
28 
29 class IAppMgrUI;
30 
31 namespace Athena_test {
32 
33  class ATLAS_NOT_THREAD_SAFE InitGaudiGoogleTest : public ::testing::Test {
34  public:
35 
41 
46  InitGaudiGoogleTest( const std::string& jobOptsPath );
47 
49  virtual ~InitGaudiGoogleTest();
50 
53  IAppMgrUI* theApp;
54  SmartIF<IProperty> propMgr;
55  SmartIF<ISvcLocator> svcLoc;
56  SmartIF<ISvcManager> svcMgr;
57  SmartIF<IToolSvc> toolSvc;
60  private:
61  InitGaudiGoogleTest( const std::string& jobOptsPath, MSG::Level level );
62 
63  };
64 
65 }
66 
67 #endif
Athena_test::InitGaudiGoogleTest::theApp
IAppMgrUI * theApp
public members are visible in tests
Definition: InitGaudiGoogleTest.h:53
Athena_test::InitGaudiGoogleTest::svcMgr
SmartIF< ISvcManager > svcMgr
Definition: InitGaudiGoogleTest.h:56
Athena_test::InitGaudiGoogleTest::propMgr
SmartIF< IProperty > propMgr
Definition: InitGaudiGoogleTest.h:54
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
Athena_test
functions & macros to test the difference between floats
Definition: InitGaudiGoogleTest.h:31
Athena_test::InitGaudiGoogleTest::toolSvc
SmartIF< IToolSvc > toolSvc
Definition: InitGaudiGoogleTest.h:57
Athena_test::ATLAS_NOT_THREAD_SAFE
void testBind ATLAS_NOT_THREAD_SAFE(StoreGateSvc &rSG)
checker_macros.h
Define macros for attributes used to control the static checker.
Athena_test::InitGaudiGoogleTest
Definition: InitGaudiGoogleTest.h:33
Athena_test::InitGaudiGoogleTest::svcLoc
SmartIF< ISvcLocator > svcLoc
Definition: InitGaudiGoogleTest.h:55