[box-tests] Turned on some tests on fun interfaces for JS & Native
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
// !LANGUAGE: +NewInference +FunctionalInterfaceConversion +SamConversionPerArgument +SamConversionForKotlinFunctions
|
// !LANGUAGE: +NewInference +FunctionalInterfaceConversion +SamConversionPerArgument +SamConversionForKotlinFunctions
|
||||||
// TARGET_BACKEND: JVM
|
|
||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
|
// SKIP_DCE_DRIVEN
|
||||||
|
|
||||||
|
|
||||||
fun interface KRunnable {
|
fun interface KRunnable {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// !LANGUAGE: +NewInference +FunctionalInterfaceConversion +SamConversionPerArgument +SamConversionForKotlinFunctions
|
// !LANGUAGE: +NewInference +FunctionalInterfaceConversion +SamConversionPerArgument +SamConversionForKotlinFunctions
|
||||||
// TARGET_BACKEND: JVM
|
|
||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
|
// SKIP_DCE_DRIVEN
|
||||||
|
|
||||||
fun interface MyRunnable {
|
fun interface MyRunnable {
|
||||||
fun invoke()
|
fun invoke()
|
||||||
|
|||||||
Generated
+10
@@ -9414,11 +9414,21 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/funInterface/basicFunInterfaceConversion.kt");
|
runTest("compiler/testData/codegen/box/funInterface/basicFunInterfaceConversion.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("castFromAny.kt")
|
||||||
|
public void testCastFromAny() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/funInterface/castFromAny.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("funInterfaceInheritance.kt")
|
@TestMetadata("funInterfaceInheritance.kt")
|
||||||
public void testFunInterfaceInheritance() throws Exception {
|
public void testFunInterfaceInheritance() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/funInterface/funInterfaceInheritance.kt");
|
runTest("compiler/testData/codegen/box/funInterface/funInterfaceInheritance.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("inlinedSamWrapper.kt")
|
||||||
|
public void testInlinedSamWrapper() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/funInterface/inlinedSamWrapper.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("multimodule.kt")
|
@TestMetadata("multimodule.kt")
|
||||||
public void testMultimodule() throws Exception {
|
public void testMultimodule() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/funInterface/multimodule.kt");
|
runTest("compiler/testData/codegen/box/funInterface/multimodule.kt");
|
||||||
|
|||||||
+10
@@ -9414,11 +9414,21 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/funInterface/basicFunInterfaceConversion.kt");
|
runTest("compiler/testData/codegen/box/funInterface/basicFunInterfaceConversion.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("castFromAny.kt")
|
||||||
|
public void testCastFromAny() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/funInterface/castFromAny.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("funInterfaceInheritance.kt")
|
@TestMetadata("funInterfaceInheritance.kt")
|
||||||
public void testFunInterfaceInheritance() throws Exception {
|
public void testFunInterfaceInheritance() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/funInterface/funInterfaceInheritance.kt");
|
runTest("compiler/testData/codegen/box/funInterface/funInterfaceInheritance.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("inlinedSamWrapper.kt")
|
||||||
|
public void testInlinedSamWrapper() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/funInterface/inlinedSamWrapper.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("multimodule.kt")
|
@TestMetadata("multimodule.kt")
|
||||||
public void testMultimodule() throws Exception {
|
public void testMultimodule() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/funInterface/multimodule.kt");
|
runTest("compiler/testData/codegen/box/funInterface/multimodule.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user