#include <InitGaudiGoogleTest.h>
Definition at line 32 of file InitGaudiGoogleTest.h.
◆ InitGaudiGoogleTest()
Athena_test::InitGaudiGoogleTest::InitGaudiGoogleTest |
( |
MSG::Level |
level = MSG::ALWAYS | ) |
|
Ctor parameter:
- Parameters
-
Definition at line 15 of file InitGaudiGoogleTest.cxx.
17 theApp( Gaudi::createApplicationMgrEx(
"GaudiCoreSvc",
23 EXPECT_TRUE(
theApp !=
nullptr );
24 EXPECT_TRUE(
propMgr.isValid() );
25 EXPECT_TRUE(
svcLoc.isValid() );
26 EXPECT_TRUE(
svcMgr.isValid() );
28 Gaudi::setInstance(
theApp );
29 EXPECT_TRUE(
propMgr->setProperty(
"JobOptionsType",
"NONE" ).isSuccess() );
30 EXPECT_TRUE(
propMgr->setProperty(
"OutputLevel",
37 std::streambuf* coutbuf= std::cout.rdbuf();
38 std::ofstream
out(
"/dev/null" );
39 std::cout.rdbuf(
out.rdbuf() );
40 lconfig=
theApp->configure().isSuccess();
41 std::cout.rdbuf( coutbuf );
45 lconfig=
theApp->configure().isSuccess();
47 EXPECT_TRUE( lconfig ) <<
"InitGaudiGoogleTest: theApp->configure() failure";
48 EXPECT_TRUE(
theApp->initialize().isSuccess() );
◆ ~InitGaudiGoogleTest()
Athena_test::InitGaudiGoogleTest::~InitGaudiGoogleTest |
( |
| ) |
|
|
virtual |
◆ m_msgLevel
MSG::Level Athena_test::InitGaudiGoogleTest::m_msgLevel |
|
private |
◆ 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 |
The documentation for this class was generated from the following files: