From ac75d2e066f673b767dc937cbca9bedca1d05255 Mon Sep 17 00:00:00 2001 From: anna Date: Wed, 21 Mar 2012 17:57:27 +0100 Subject: [PATCH] testng: inc by tests suite count (IDEA-83188) (cherry picked from commit 40b5fd67943427abd099565f6e313762cfac1831) --- .../src/com/theoryinpractice/testng/ui/TestNGResults.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {