ATLAS Offline Software
Loading...
Searching...
No Matches
InitGaudiGoogleTest.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4// -*- mode: c++ -*-
5
15
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"
27
28class IAppMgrUI;
29
30namespace Athena_test {
31
32 class InitGaudiGoogleTest : public ::testing::Test {
33 public:
34
39 InitGaudiGoogleTest( MSG::Level level=MSG::INFO );
40
45 InitGaudiGoogleTest( const std::string& jobOptsPath );
46
48 virtual ~InitGaudiGoogleTest();
49
52 IAppMgrUI* theApp;
53 SmartIF<IProperty> propMgr;
54 SmartIF<ISvcLocator> svcLoc;
55 SmartIF<ISvcManager> svcMgr;
56 SmartIF<IToolSvc> toolSvc;
58
59 private:
60 InitGaudiGoogleTest( const std::string& jobOptsPath, MSG::Level level );
61
62 };
63
64}
65
66#endif
IAppMgrUI * theApp
public members are visible in tests
InitGaudiGoogleTest(MSG::Level level=MSG::INFO)
Create GoogleTest fixture.
functions & macros to test the difference between floats