Line Marking: Respect @Test/@Ignore annotations in test line markers
#KT-16814 In Progress
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// !CHECK_HIGHLIGHTING
|
||||
|
||||
package kotlin.test
|
||||
|
||||
annotation class Test
|
||||
annotation class Ignore
|
||||
@@ -0,0 +1,18 @@
|
||||
import kotlin.test.*
|
||||
|
||||
class <lineMarker descr="Run Test">SimpleTest</lineMarker> {
|
||||
@Test fun <lineMarker descr="Run Test">testFoo</lineMarker>() {
|
||||
// Will run
|
||||
}
|
||||
|
||||
@Ignore fun testFooWrong() {
|
||||
// Will not run
|
||||
}
|
||||
}
|
||||
|
||||
@Ignore
|
||||
class TestTest {
|
||||
@Test fun emptyTest() {
|
||||
// Will not run
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user