QuickFixMultiModule: change tests structure

GitOrigin-RevId: 497c9eec444e9773abe47e05953bccb224332ef8
This commit is contained in:
Dmitry Gridin
2019-08-27 13:26:08 +03:00
committed by intellij-monorepo-bot
parent e607074acc
commit ebb45fbd0e
608 changed files with 786 additions and 747 deletions
@@ -0,0 +1,4 @@
// My: to be implemented
// DISABLE-ERRORS
annotation class CommonAnnotation
@@ -0,0 +1,11 @@
// My: to be implemented
// DISABLE-ERRORS
annotation class CommonAnnotation
expect class My {
tailrec fun foo(arg: Int): Int
var some: Boolean
@CommonAnnotation
fun initialize()
}
@@ -0,0 +1,20 @@
// "Create expected class in common module testModule_Common" "true"
// DISABLE-ERRORS
annotation class PlatformAnnotation
actual class <caret>My {
@PlatformAnnotation
actual tailrec fun foo(arg: Int): Int {
if (arg <= 1) return 1
return foo(arg - 1)
}
// Here we will have an error (lateinit is not supported on both sides)
actual lateinit var some: Boolean
@CommonAnnotation
actual fun initialize() {
some = true
}
}
@@ -0,0 +1,20 @@
// "Create expected class in common module testModule_Common" "true"
// DISABLE-ERRORS
annotation class PlatformAnnotation
actual class <caret>My {
@PlatformAnnotation
actual tailrec fun foo(arg: Int): Int {
if (arg <= 1) return 1
return foo(arg - 1)
}
// Here we will have an error (lateinit is not supported on both sides)
actual lateinit var some: Boolean
@CommonAnnotation
actual fun initialize() {
some = true
}
}