| 240 | |
| 241 | |
| 242 | static void addMasterDetectorModules(Modules* modules) |
| 243 | { |
| 244 | CHECK_NOTNULL(modules); |
| 245 | |
| 246 | // Now add our test anonymous module. |
| 247 | Modules::Library* library = modules->add_libraries(); |
| 248 | library->set_file(getModulePath("testmasterdetector")); |
| 249 | |
| 250 | // To add a new module from this library, create a new ModuleID enum |
| 251 | // and tie it with a module name. |
| 252 | addModule( |
| 253 | library, |
| 254 | TestMasterDetector, |
| 255 | "org_apache_mesos_TestMasterDetector"); |
| 256 | } |
| 257 | |
| 258 | |
| 259 | Try<Nothing> initModules(const Option<Modules>& modules) |
no test coverage detected