[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
@@ -2388,6 +2388,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
runTest("compiler/testData/loadJava/compiledKotlin/class/SealedClass.kt");
}
@TestMetadata("SealedInterface.kt")
public void testSealedInterface() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SealedInterface.kt");
}
@TestMetadata("SingleAbstractMethod.kt")
public void testSingleAbstractMethod() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SingleAbstractMethod.kt");
@@ -695,6 +695,11 @@ public class LoadKotlinWithTypeTableTestGenerated extends AbstractLoadKotlinWith
runTest("compiler/testData/loadJava/compiledKotlin/class/SealedClass.kt");
}
@TestMetadata("SealedInterface.kt")
public void testSealedInterface() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SealedInterface.kt");
}
@TestMetadata("SingleAbstractMethod.kt")
public void testSingleAbstractMethod() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SingleAbstractMethod.kt");
@@ -2389,6 +2389,11 @@ public class IrLoadJavaTestGenerated extends AbstractIrLoadJavaTest {
runTest("compiler/testData/loadJava/compiledKotlin/class/SealedClass.kt");
}
@TestMetadata("SealedInterface.kt")
public void testSealedInterface() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SealedInterface.kt");
}
@TestMetadata("SingleAbstractMethod.kt")
public void testSingleAbstractMethod() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SingleAbstractMethod.kt");
@@ -2388,6 +2388,11 @@ public class LoadJavaUsingJavacTestGenerated extends AbstractLoadJavaUsingJavacT
runTest("compiler/testData/loadJava/compiledKotlin/class/SealedClass.kt");
}
@TestMetadata("SealedInterface.kt")
public void testSealedInterface() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SealedInterface.kt");
}
@TestMetadata("SingleAbstractMethod.kt")
public void testSingleAbstractMethod() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SingleAbstractMethod.kt");