testng: inc by tests suite count (IDEA-83188)

(cherry picked from commit 40b5fd67943427abd099565f6e313762cfac1831)
This commit is contained in:
anna
2012-03-21 18:02:09 +01:00
parent 56abb5d4aa
commit ac75d2e066
@@ -69,7 +69,7 @@ public class TestNGResults extends TestResultsPanel implements TestFrameworkRunn
private final Project project;
private int count;
private int total;
private int total = 0;
private final Set<TestProxy> failed = new HashSet<TestProxy>();
private final Map<TestResultMessage, List<TestProxy>> started = new HashMap<TestResultMessage, List<TestProxy>>();
private TestProxy failedToStart = null;
@@ -345,7 +345,7 @@ public class TestNGResults extends TestResultsPanel implements TestFrameworkRunn
}
public void setTotal(int total) {
this.total = total;
this.total += total;
}
public void start() {