JVM add tests for KT-48544 & KT-49226

This commit is contained in:
Dmitry Petrov
2021-10-14 08:49:39 +03:00
committed by TeamCityServer
parent d2e5523180
commit 6ba65065ee
10 changed files with 117 additions and 0 deletions
@@ -2942,6 +2942,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
@TestMetadata("compiler/testData/codegen/box/callableReference/adaptedReferences")
@TestDataPath("$PROJECT_ROOT")
public class AdaptedReferences {
@Test
@TestMetadata("adaptedArrayOf.kt")
public void testAdaptedArrayOf() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/adaptedArrayOf.kt");
}
@Test
@TestMetadata("adaptedVarargFunImportedFromObject.kt")
public void testAdaptedVarargFunImportedFromObject() throws Exception {
@@ -40252,6 +40258,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/sam/kt4753_2.kt");
}
@Test
@TestMetadata("kt49226.kt")
public void testKt49226() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt49226.kt");
}
@Test
@TestMetadata("nonInlinedSamWrapper.kt")
public void testNonInlinedSamWrapper() throws Exception {