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

Function addMasterContenderModules

src/tests/module.cpp:225–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223
224
225static void addMasterContenderModules(Modules* modules)
226{
227 CHECK_NOTNULL(modules);
228
229 // Now add our test anonymous module.
230 Modules::Library* library = modules->add_libraries();
231 library->set_file(getModulePath("testmastercontender"));
232
233 // To add a new module from this library, create a new ModuleID enum
234 // and tie it with a module name.
235 addModule(
236 library,
237 TestMasterContender,
238 "org_apache_mesos_TestMasterContender");
239}
240
241
242static void addMasterDetectorModules(Modules* modules)

Callers 1

initModulesFunction · 0.85

Calls 2

getModulePathFunction · 0.85
addModuleFunction · 0.85

Tested by

no test coverage detected