Line Marking: Respect @Test/@Ignore annotations in test line markers

#KT-16814 In Progress
This commit is contained in:
Alexey Sedunov
2017-08-17 16:28:27 +03:00
parent 5a5a27b983
commit 4f647e84c9
6 changed files with 179 additions and 13 deletions
@@ -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
}
}