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:
+1
-4
@@ -1,6 +1,3 @@
|
||||
// !CHECK_HIGHLIGHTING
|
||||
|
||||
package kotlin.test
|
||||
|
||||
annotation class Test
|
||||
annotation class Ignore
|
||||
package test
|
||||
Vendored
+18
@@ -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
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user