Add available ResourceEstimator modules.
| 174 | |
| 175 | // Add available ResourceEstimator modules. |
| 176 | static void addResourceEstimatorModules(Modules* modules) |
| 177 | { |
| 178 | CHECK_NOTNULL(modules); |
| 179 | |
| 180 | // Now add our resource_estimator module. |
| 181 | Modules::Library* library = modules->add_libraries(); |
| 182 | library->set_file(getModulePath("testresource_estimator")); |
| 183 | |
| 184 | // To add a new module from this library, create a new ModuleID enum |
| 185 | // and tie it with a module name. |
| 186 | addModule( |
| 187 | library, |
| 188 | TestNoopResourceEstimator, |
| 189 | "org_apache_mesos_TestNoopResourceEstimator"); |
| 190 | } |
| 191 | |
| 192 | |
| 193 | static void addAuthorizerModules(Modules* modules) |
no test coverage detected