diff --git a/plugins/testng/src/com/theoryinpractice/testng/ui/TestNGResults.java b/plugins/testng/src/com/theoryinpractice/testng/ui/TestNGResults.java index e716620a4c32..925b9dabe92f 100644 --- a/plugins/testng/src/com/theoryinpractice/testng/ui/TestNGResults.java +++ b/plugins/testng/src/com/theoryinpractice/testng/ui/TestNGResults.java @@ -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 failed = new HashSet(); private final Map> started = new HashMap>(); 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() {