use of org.eclipse.wst.server.core.internal.ModuleFactory in project webtools.servertools by eclipse.
the class ModuleFactoriesExtensionTestCase method testModuleFactoriesExtension.
public void testModuleFactoriesExtension() throws Exception {
Dimension[] dims = new Dimension[] { Dimension.ELAPSED_PROCESS, Dimension.USED_JAVA_HEAP };
tagAsGlobalSummary("Module Factories", dims);
startMeasuring();
ModuleFactory[] factories = ServerPlugin.getModuleFactories();
if (factories != null) {
for (ModuleFactory factory : factories) factory.getModules(null);
}
stopMeasuring();
commitMeasurements();
assertPerformance();
}
Aggregations