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

Function ExtractGroups

test/icinga-dependencies.cpp:72–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static std::vector<DependencyGroup::Ptr> ExtractGroups(const Checkable::Ptr& checkable)
73{
74 auto dependencyGroups(checkable->GetDependencyGroups());
75 std::sort(dependencyGroups.begin(), dependencyGroups.end());
76 return dependencyGroups;
77}
78
79BOOST_AUTO_TEST_CASE(multi_parent)
80{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 3

GetDependencyGroupsMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected