mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
auto restart tests: don't auto restart on explicit compilation if nothing was changed (IDEA-161333)
This commit is contained in:
+1
-1
@@ -57,6 +57,7 @@ public class JavaAutoRunManager extends AbstractAutoTestManager {
|
||||
private boolean myFoundFilesToMake = false;
|
||||
@Override
|
||||
public void compilationFinished(boolean aborted, int errors, int warnings, CompileContext compileContext) {
|
||||
if (!myFoundFilesToMake) return;
|
||||
if (errors == 0) {
|
||||
restartAllAutoTests(0);
|
||||
}
|
||||
@@ -66,7 +67,6 @@ public class JavaAutoRunManager extends AbstractAutoTestManager {
|
||||
|
||||
@Override
|
||||
public void automakeCompilationFinished(int errors, int warnings, CompileContext compileContext) {
|
||||
if (!myFoundFilesToMake) return;
|
||||
compilationFinished(false, errors, warnings, compileContext);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user