Enable delegation by interface for inline classes in old FE

#KT-27435
This commit is contained in:
Ilmir Usmanov
2021-11-29 14:50:16 +01:00
parent 3002829acf
commit bb53ba4a2e
20 changed files with 371 additions and 5 deletions
@@ -17316,6 +17316,35 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest {
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType")
@TestDataPath("$PROJECT_ROOT")
@NativeBlackBoxTestCaseGroupProvider(ExtTestCaseGroupProvider.class)
public class DelegationByUnderlyingType {
@Test
public void testAllFilesPresentInDelegationByUnderlyingType() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType"), Pattern.compile("^(.+)\\.kt$"), null, true);
}
@Test
@TestMetadata("default.kt")
public void testDefault() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/default.kt");
}
@Test
@TestMetadata("defaultArgument.kt")
public void testDefaultArgument() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/defaultArgument.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/simple.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/inlineClasses/funInterface")
@TestDataPath("$PROJECT_ROOT")