From 57e6f0eb0778a2ab549b264c865660c35d0cfea0 Mon Sep 17 00:00:00 2001 From: Anton Makeev Date: Tue, 18 May 2010 10:55:38 +0400 Subject: [PATCH] TestRunner: improved completion notification --- .../src/com/intellij/execution/testframework/TestsUIUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/testRunner/src/com/intellij/execution/testframework/TestsUIUtil.java b/platform/testRunner/src/com/intellij/execution/testframework/TestsUIUtil.java index e9f0c93b114b..3b477ebe2806 100644 --- a/platform/testRunner/src/com/intellij/execution/testframework/TestsUIUtil.java +++ b/platform/testRunner/src/com/intellij/execution/testframework/TestsUIUtil.java @@ -120,7 +120,7 @@ public class TestsUIUtil { text = ""; type = MessageType.WARNING; } else{ - List allTests = root.getAllTests(); + List allTests = Filter.LEAF.select(root.getAllTests()); int failedCount = Filter.DEFECTIVE_LEAF.select(allTests).size(); int passedCount = allTests.size() - failedCount;