Added a test on possible name clash for SAM wrappers

This commit is contained in:
Igor Chevdar
2020-06-04 18:47:35 +05:00
parent 66bbd3e102
commit 8b37a094fe
8 changed files with 65 additions and 0 deletions
@@ -9619,6 +9619,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/funInterface/basicFunInterfaceConversion.kt");
}
@TestMetadata("basicFunInterfaceConversionClash.kt")
public void testBasicFunInterfaceConversionClash() throws Exception {
runTest("compiler/testData/codegen/box/funInterface/basicFunInterfaceConversionClash.kt");
}
@TestMetadata("castFromAny.kt")
public void testCastFromAny() throws Exception {
runTest("compiler/testData/codegen/box/funInterface/castFromAny.kt");
@@ -9629,6 +9629,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/funInterface/basicFunInterfaceConversion.kt");
}
@TestMetadata("basicFunInterfaceConversionClash.kt")
public void testBasicFunInterfaceConversionClash() throws Exception {
runTest("compiler/testData/codegen/box/funInterface/basicFunInterfaceConversionClash.kt");
}
@TestMetadata("castFromAny.kt")
public void testCastFromAny() throws Exception {
runTest("compiler/testData/codegen/box/funInterface/castFromAny.kt");
@@ -9629,6 +9629,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/funInterface/basicFunInterfaceConversion.kt");
}
@TestMetadata("basicFunInterfaceConversionClash.kt")
public void testBasicFunInterfaceConversionClash() throws Exception {
runTest("compiler/testData/codegen/box/funInterface/basicFunInterfaceConversionClash.kt");
}
@TestMetadata("castFromAny.kt")
public void testCastFromAny() throws Exception {
runTest("compiler/testData/codegen/box/funInterface/castFromAny.kt");