Merge together MultiplatformHighlighting and MultiplatformAnalysis tests
Basically, the former uses an old quickly-scrapped infrastructure, which were not applicable for HMPP, so the latter tests were written. So, both check for one and the same thing (highlighting in MPP projects), but MultiplatformAnalysisTest is more modern, and has a lot of inconvenient stuff in MultiplatformHighlighting fixed ^KT-43116 Fixed
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
|
||||
package sample
|
||||
|
||||
expect interface A {
|
||||
expect interface <!LINE_MARKER("descr='Is subclassed by B [common-1] B [common-2] Case_2_3'"), LINE_MARKER("descr='Has actuals in common'")!>A<!> {
|
||||
fun common_1_A()
|
||||
}
|
||||
|
||||
expect interface B : A {
|
||||
fun common_1_B()
|
||||
expect interface <!LINE_MARKER("descr='Is subclassed by Case_2_3'"), LINE_MARKER("descr='Has actuals in common'")!>B<!> : A {
|
||||
fun <!LINE_MARKER("descr='Has actuals in common'")!>common_1_B<!>()
|
||||
}
|
||||
|
||||
fun getB(): B = null!!
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
|
||||
package sample
|
||||
|
||||
expect interface A_Common {
|
||||
fun common_1_A()
|
||||
fun common_2_A()
|
||||
expect interface <!LINE_MARKER("descr='Is subclassed by B [common-2] Case_2_3'"), LINE_MARKER("descr='Has actuals in JVM'")!>A_Common<!> {
|
||||
fun <!LINE_MARKER("descr='Has actuals in JVM'")!>common_1_A<!>()
|
||||
fun <!LINE_MARKER("descr='Has actuals in JVM'")!>common_2_A<!>()
|
||||
}
|
||||
|
||||
actual typealias A = A_Common
|
||||
actual typealias <!LINE_MARKER("descr='Has declaration in common module'")!>A<!> = A_Common
|
||||
|
||||
actual interface B : A {
|
||||
actual fun common_1_B()
|
||||
actual interface <!LINE_MARKER("descr='Is implemented by Case_2_3'"), LINE_MARKER("descr='Has declaration in common module'")!>B<!> : A {
|
||||
actual fun <!LINE_MARKER("descr='Has declaration in common module'")!>common_1_B<!>()
|
||||
fun common_1_2_B()
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package sample
|
||||
|
||||
actual interface A_Common {
|
||||
actual fun common_1_A()
|
||||
actual fun common_2_A()
|
||||
actual interface <!LINE_MARKER("descr='Has declaration in common module'")!>A_Common<!> {
|
||||
actual fun <!LINE_MARKER("descr='Has declaration in common module'")!>common_1_A<!>()
|
||||
actual fun <!LINE_MARKER("descr='Has declaration in common module'")!>common_2_A<!>()
|
||||
fun jvm_A()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user