mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
tests ui: fix progress: don't include failed/ignored in finished twice (IDEA-141216)
This commit is contained in:
+2
-2
@@ -596,7 +596,7 @@ public class SMTestRunnerResultsForm extends TestResultsPanel
|
||||
}
|
||||
else {
|
||||
totalTestCount = myTotalTestCount;
|
||||
doneTestCount = myFinishedTestCount + myFailedTestCount + myIgnoredTestCount;
|
||||
doneTestCount = myFinishedTestCount;
|
||||
}
|
||||
TestsUIUtil.showIconProgress(myProject, doneTestCount, totalTestCount, myFailedTestCount);
|
||||
}
|
||||
@@ -655,7 +655,7 @@ public class SMTestRunnerResultsForm extends TestResultsPanel
|
||||
}
|
||||
|
||||
private void updateProgressOnTestDone() {
|
||||
int doneTestCount = myFinishedTestCount + myFailedTestCount + myIgnoredTestCount;
|
||||
int doneTestCount = myFinishedTestCount;
|
||||
// update progress
|
||||
if (myTotalTestCount != 0) {
|
||||
// if total is set
|
||||
|
||||
Reference in New Issue
Block a user