[FIR/AA decompiler] Add tests for sealed interfaces

^KT-62895
This commit is contained in:
Marco Pennekamp
2024-01-04 16:37:42 +01:00
committed by Space Team
parent 7c8aff963f
commit 5797b4877c
19 changed files with 158 additions and 0 deletions
@@ -776,6 +776,12 @@ public class FirLoadK1CompiledJvmKotlinTestGenerated extends AbstractFirLoadK1Co
runTest("compiler/testData/loadJava/compiledKotlin/class/SealedClass.kt");
}
@Test
@TestMetadata("SealedInterface.kt")
public void testSealedInterface() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SealedInterface.kt");
}
@Test
@TestMetadata("SingleAbstractMethod.kt")
public void testSingleAbstractMethod() throws Exception {
@@ -776,6 +776,12 @@ public class FirLoadK2CompiledJvmKotlinTestGenerated extends AbstractFirLoadK2Co
runTest("compiler/testData/loadJava/compiledKotlin/class/SealedClass.kt");
}
@Test
@TestMetadata("SealedInterface.kt")
public void testSealedInterface() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SealedInterface.kt");
}
@Test
@TestMetadata("SingleAbstractMethod.kt")
public void testSingleAbstractMethod() throws Exception {