Add more tests for KT-20262
This commit is contained in:
committed by
Stanislav Erokhin
parent
77f625bfc8
commit
2fe7cc5534
@@ -0,0 +1,3 @@
|
||||
// "Replace with 'expect'" "true"
|
||||
|
||||
<caret>header fun foo(): Int
|
||||
@@ -0,0 +1,3 @@
|
||||
// "Replace with 'expect'" "true"
|
||||
|
||||
expect fun foo(): Int
|
||||
@@ -0,0 +1 @@
|
||||
impl fun foo() = 42
|
||||
@@ -0,0 +1 @@
|
||||
impl fun foo() = 42
|
||||
@@ -0,0 +1 @@
|
||||
header fun foo(): Int
|
||||
@@ -0,0 +1 @@
|
||||
header fun foo(): Int
|
||||
@@ -0,0 +1,3 @@
|
||||
// "Replace with 'actual'" "true"
|
||||
|
||||
<caret>impl fun foo() = 42
|
||||
@@ -0,0 +1,3 @@
|
||||
// "Replace with 'actual'" "true"
|
||||
|
||||
actual fun foo() = 42
|
||||
@@ -59,11 +59,21 @@ class QuickFixMultiModuleTest : AbstractQuickFixMultiModuleTest() {
|
||||
doMultiPlatformTest()
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testDeprecatedHeaderImpl() {
|
||||
doMultiPlatformTest()
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testDeprecatedImpl() {
|
||||
doMultiPlatformTest()
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testDeprecatedImplHeader() {
|
||||
doMultiPlatformTest()
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testEnum() {
|
||||
doMultiPlatformTest(impls = "js" to TargetPlatformKind.JavaScript)
|
||||
|
||||
Reference in New Issue
Block a user