Test Support: KT-22306

Do not show run markers in JS modules when no relevant run configurations are available

 #KT-22306 Fixed
This commit is contained in:
Alexey Sedunov
2018-03-22 19:59:22 +03:00
parent 3e91346240
commit b52b07ec79
13 changed files with 294 additions and 144 deletions
@@ -1,6 +1,3 @@
// !CHECK_HIGHLIGHTING
package kotlin.test
annotation class Test
annotation class Ignore
package test
@@ -0,0 +1,18 @@
import kotlin.test.*
class SimpleTest {
@Test fun testFoo() {
// Will run
}
@Ignore fun testFooWrong() {
// Will not run
}
}
@Ignore
class TestTest {
@Test fun emptyTest() {
// Will not run
}
}
@@ -11,8 +11,8 @@ class <lineMarker descr="Run Test">SimpleTest</lineMarker> {
}
@Ignore
class TestTest {
@Test fun emptyTest() {
class <lineMarker descr="Run Test">TestTest</lineMarker> {
@Test fun <lineMarker descr="Run Test">emptyTest</lineMarker>() {
// Will not run
}
}