MCPcopy Create free account
hub / github.com/apache/mesos / addHookModules

Function addHookModules

src/tests/module.cpp:131–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129
130
131static void addHookModules(Modules* modules)
132{
133 CHECK_NOTNULL(modules);
134
135 // Now add our test hook module.
136 Modules::Library* library = modules->add_libraries();
137 library->set_file(getModulePath("testhook"));
138
139 // To add a new module from this library, create a new ModuleID enum
140 // and tie it with a module name.
141 addModule(library, TestHook, "org_apache_mesos_TestHook");
142}
143
144
145static void addAnonymousModules(Modules* modules)

Callers 1

initModulesFunction · 0.85

Calls 2

getModulePathFunction · 0.85
addModuleFunction · 0.85

Tested by

no test coverage detected