mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
junit pattern: forbid module chooser - use default module, or module containing all tests or project otherwise (IDEA-64384; IDEA-64386; IDEA-64387)
This commit is contained in:
@@ -88,6 +88,10 @@ public class JavaParametersUtil {
|
||||
if (module == null) {
|
||||
throw CantRunException.noModuleConfigured(runConfigurationModule.getModuleName());
|
||||
}
|
||||
configureModule(module, parameters, classPathType, jreHome);
|
||||
}
|
||||
|
||||
public static void configureModule(Module module, JavaParameters parameters, int classPathType, String jreHome) throws CantRunException {
|
||||
parameters.configureByModule(module, classPathType, createModuleJdk(module, jreHome));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user