#include <InitGaudiGoogleTest.h>
Definition at line 33 of file InitGaudiGoogleTest.h.
◆ InitGaudiGoogleTest() [1/3]
Athena_test::InitGaudiGoogleTest::InitGaudiGoogleTest |
( |
MSG::Level |
level = MSG::INFO | ) |
|
◆ InitGaudiGoogleTest() [2/3]
Athena_test::InitGaudiGoogleTest::InitGaudiGoogleTest |
( |
const std::string & |
jobOptsPath | ) |
|
◆ ~InitGaudiGoogleTest()
Athena_test::InitGaudiGoogleTest::~InitGaudiGoogleTest |
( |
| ) |
|
|
virtual |
◆ InitGaudiGoogleTest() [3/3]
Athena_test::InitGaudiGoogleTest::InitGaudiGoogleTest |
( |
const std::string & |
jobOptsPath, |
|
|
MSG::Level |
level |
|
) |
| |
|
private |
Definition at line 15 of file InitGaudiGoogleTest.cxx.
17 theApp( Gaudi::createApplicationMgrEx(
"GaudiCoreSvc",
"ApplicationMgr" ) ),
23 EXPECT_TRUE(
theApp !=
nullptr );
24 EXPECT_TRUE(
propMgr.isValid() );
25 EXPECT_TRUE(
svcLoc.isValid() );
26 EXPECT_TRUE(
svcMgr.isValid() );
27 EXPECT_TRUE(
toolSvc.isValid() );
29 Gaudi::setInstance(
theApp );
32 if (jobOptsPath.empty()) {
33 EXPECT_TRUE(
propMgr->setProperty(
"JobOptionsType",
"NONE" ).isSuccess() );
36 EXPECT_TRUE(
propMgr->setProperty(
"JobOptionsType",
"FILE" ).isSuccess() );
37 EXPECT_TRUE(
propMgr->setProperty(
"JobOptionsPath", jobOptsPath ).isSuccess() );
39 EXPECT_TRUE(
theApp->configure().isSuccess() );
40 EXPECT_TRUE(
theApp->initialize().isSuccess() );
◆ propMgr
SmartIF<IProperty> Athena_test::InitGaudiGoogleTest::propMgr |
◆ svcLoc
SmartIF<ISvcLocator> Athena_test::InitGaudiGoogleTest::svcLoc |
◆ svcMgr
SmartIF<ISvcManager> Athena_test::InitGaudiGoogleTest::svcMgr |
◆ theApp
IAppMgrUI* Athena_test::InitGaudiGoogleTest::theApp |
◆ toolSvc
SmartIF<IToolSvc> Athena_test::InitGaudiGoogleTest::toolSvc |
The documentation for this class was generated from the following files: