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()
|
doMultiPlatformTest()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun testDeprecatedHeaderImpl() {
|
||||||
|
doMultiPlatformTest()
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun testDeprecatedImpl() {
|
fun testDeprecatedImpl() {
|
||||||
doMultiPlatformTest()
|
doMultiPlatformTest()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun testDeprecatedImplHeader() {
|
||||||
|
doMultiPlatformTest()
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun testEnum() {
|
fun testEnum() {
|
||||||
doMultiPlatformTest(impls = "js" to TargetPlatformKind.JavaScript)
|
doMultiPlatformTest(impls = "js" to TargetPlatformKind.JavaScript)
|
||||||
|
|||||||
Reference in New Issue
Block a user