// CONFIGURE_LIBRARY: JUnit@lib/junit-4.12.jar package testing import junit.framework.TestCase import org.junit.Test abstract class KBase : TestCase() { // NOTE: this differs from Java tooling behaviour, see KT-27977 @Test fun testFoo() { } } class KTest : KBase() { @Test fun testBar() { } } class KTest2 : KBase() { @Test fun testBaz() { } } abstract class AbstractClassWithoutInheritors : TestCase() { // NOTE: showing line markers for abstract method, which has no inheritors is not ideal, because those methods cannot actually be run // Sadly, run configurations can actually be created for them (same in Java), so this behaviour is consistent with context menu @Test fun testFoo() { } }