mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ensure ServiceMessageTypes is in classpath if different classpath is used per run
This commit is contained in:
@@ -84,7 +84,7 @@ public abstract class JavaTestFrameworkRunnableState<T extends ModuleBasedConfig
|
||||
}
|
||||
|
||||
protected ExecutionResult startSMRunner(Executor executor) throws ExecutionException {
|
||||
if (!Registry.is(getFrameworkId() + "_sm_runner")) {
|
||||
if (!isSmRunnerUsed()) {
|
||||
return null;
|
||||
}
|
||||
getJavaParameters().getVMParametersList().addProperty("idea." + getFrameworkId() + ".sm_runner");
|
||||
@@ -137,6 +137,10 @@ public abstract class JavaTestFrameworkRunnableState<T extends ModuleBasedConfig
|
||||
return result;
|
||||
}
|
||||
|
||||
protected boolean isSmRunnerUsed() {
|
||||
return Registry.is(getFrameworkId() + "_sm_runner");
|
||||
}
|
||||
|
||||
@Override
|
||||
protected JavaParameters createJavaParameters() throws ExecutionException {
|
||||
final JavaParameters javaParameters = new JavaParameters();
|
||||
|
||||
Reference in New Issue
Block a user