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

Function addAnonymousModules

src/tests/module.cpp:145–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143
144
145static void addAnonymousModules(Modules* modules)
146{
147 CHECK_NOTNULL(modules);
148
149 // Now add our test anonymous module.
150 Modules::Library* library = modules->add_libraries();
151 library->set_file(getModulePath("testanonymous"));
152
153 // To add a new module from this library, create a new ModuleID enum
154 // and tie it with a module name.
155 addModule(
156 library, TestAnonymous, "org_apache_mesos_TestAnonymous");
157}
158
159
160// Add available Allocator modules.

Callers 1

initModulesFunction · 0.85

Calls 2

getModulePathFunction · 0.85
addModuleFunction · 0.85

Tested by

no test coverage detected