mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
[java] Remove test runner icon hiding for classes with only disabled tests
This feature can cause confusion to users, didn't work correctly and if implemented correctly can be fairly expensive to compute so it was decided that it was better to remove it. #IDEA-355402 Fixed GitOrigin-RevId: 38e4fb787c41a55967811de9994708459da5e778
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a67965fce8
commit
2fb679f5e4
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.java.codeInsight.navigation;
|
||||
|
||||
import com.intellij.codeInsight.daemon.GutterMark;
|
||||
@@ -130,7 +130,9 @@ public class TestRunLineMarkerTest extends LineMarkerTestCase {
|
||||
}
|
||||
|
||||
public void testDisabledTestClassWithGradleConfiguration() {
|
||||
doTestWithDisabledAnnotation(new MockGradleRunConfiguration(myFixture.getProject(), "DisabledMethodTest"), 0, """
|
||||
// For classes we always show the run line marker, even when no tests are runnable
|
||||
// This is because calculating whether to show the line marker here is complex and it not showing up at all might be confusing for users
|
||||
doTestWithDisabledAnnotation(new MockGradleRunConfiguration(myFixture.getProject(), "DisabledMethodTest"), 1, """
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user