Check also drop-box content in multi-module line marker tests
Related to KT-26957
This commit is contained in:
+11
-1
@@ -1 +1,11 @@
|
||||
actual class <lineMarker>WithConstructor</lineMarker> actual constructor(actual val x: Int, actual val s: String)
|
||||
actual class <lineMarker descr="Has declaration in common module">WithConstructor</lineMarker> actual constructor(actual val x: Int, actual val s: String)
|
||||
|
||||
/*
|
||||
LINEMARKER: Has declaration in common module
|
||||
TARGETS:
|
||||
common.kt
|
||||
expect class <1>WithConstructor(x: Int, s: String) {
|
||||
val <3>x: Int
|
||||
|
||||
val <2>s: String
|
||||
*/
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
package test
|
||||
|
||||
actual enum class <lineMarker>Enum</lineMarker> { A, B, C }
|
||||
actual enum class <lineMarker descr="Has declaration in common module">Enum</lineMarker> { A, B, C }
|
||||
|
||||
/*
|
||||
LINEMARKER: Has declaration in common module
|
||||
TARGETS:
|
||||
common.kt
|
||||
expect enum class <4>Enum { <1>A, <2>B, <3>C }
|
||||
*/
|
||||
|
||||
+8
-1
@@ -1,3 +1,10 @@
|
||||
package test
|
||||
|
||||
expect enum class <lineMarker>Enum</lineMarker> { A, B, C, D }
|
||||
expect enum class <lineMarker descr="Has actuals in JVM">Enum</lineMarker> { A, B, C, D }
|
||||
|
||||
/*
|
||||
LINEMARKER: Has actuals in JVM
|
||||
TARGETS:
|
||||
jvm.kt
|
||||
actual enum class <5>Enum { <1>A, <2>B, <3>C, <4>D }
|
||||
*/
|
||||
|
||||
+10
-1
@@ -1,3 +1,12 @@
|
||||
interface <lineMarker>I</lineMarker> {
|
||||
suspend fun <lineMarker descr="<html><body>Is implemented in <br> KJs<br> KJvm</body></html>">foo</lineMarker>(s: String)
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
LINEMARKER: <html><body>Is implemented in <br> KJs<br> KJvm</body></html>
|
||||
TARGETS:
|
||||
js.kt
|
||||
suspend override fun <1>foo(s: String) {
|
||||
jvm.kt
|
||||
suspend override fun <2>foo(s: String) {
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user