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;