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:
@@ -1,9 +1,9 @@
|
||||
package base
|
||||
|
||||
interface Check {
|
||||
fun test(): String {
|
||||
interface <!LINE_MARKER("descr='Is implemented by CheckClass SubCheck SubCheckClass'")!>Check<!> {
|
||||
fun <!LINE_MARKER("descr='Is overridden in SubCheck'")!>test<!>(): String {
|
||||
return "fail";
|
||||
}
|
||||
}
|
||||
|
||||
open class CheckClass : Check
|
||||
open class <!LINE_MARKER("descr='Is subclassed by SubCheckClass'")!>CheckClass<!> : Check
|
||||
@@ -1,7 +1,7 @@
|
||||
import base.*
|
||||
|
||||
interface SubCheck : Check {
|
||||
override fun test(): String {
|
||||
interface <!LINE_MARKER("descr='Is implemented by SubCheckClass'")!>SubCheck<!> : Check {
|
||||
override fun <!LINE_MARKER("descr='Overrides function in 'Check''")!>test<!>(): String {
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user