From 72a153472fb2cf77b2470201c001a32b18d0ae23 Mon Sep 17 00:00:00 2001 From: "Anna.Kozlova" Date: Thu, 2 Mar 2017 09:51:14 +0100 Subject: [PATCH] tests: warning color for ignored tests (IDEA-168745) --- .../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 ae6a67eee0ac..f953409e1520 100644 --- a/platform/testRunner/src/com/intellij/execution/testframework/TestsUIUtil.java +++ b/platform/testRunner/src/com/intellij/execution/testframework/TestsUIUtil.java @@ -243,7 +243,7 @@ public class TestsUIUtil { else if (notStartedCount > 0) { myTitle = ignoredCount > 0 ? "Tests Ignored" : ExecutionBundle.message("junit.running.info.failed.to.start.error.message"); myText = passedCount + " passed, " + notStartedCount + (ignoredCount > 0 ? " ignored" : " not started"); - myType = ignoredCount == 0 ? MessageType.WARNING : MessageType.ERROR; + myType = ignoredCount > 0 ? MessageType.WARNING : MessageType.ERROR; } else { myTitle = ExecutionBundle.message("junit.runing.info.tests.passed.label");