MCPcopy Create free account
hub / github.com/Icinga/icinga2 / InitIcingaApplication

Method InitIcingaApplication

test/icingaapplication-fixture.cpp:16–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16void IcingaApplicationFixture::InitIcingaApplication()
17{
18 BOOST_TEST_MESSAGE("Initializing Application...");
19 Application::InitializeBase();
20
21 BOOST_TEST_MESSAGE("Initializing IcingaApplication...");
22 IcingaApplication::Ptr appInst = new IcingaApplication();
23 static_pointer_cast<ConfigObject>(appInst)->OnConfigLoaded();
24
25 IcingaInitialized = true;
26}
27
28IcingaApplicationFixture::~IcingaApplicationFixture()
29{

Callers

nothing calls this directly

Calls 1

OnConfigLoadedMethod · 0.45

Tested by

no test coverage detected