[FIR/AA decompiler] Add tests for sealed interfaces
^KT-62895
This commit is contained in:
committed by
Space Team
parent
7c8aff963f
commit
5797b4877c
+5
@@ -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");
|
||||
|
||||
Generated
+5
@@ -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");
|
||||
|
||||
+5
@@ -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");
|
||||
|
||||
Generated
+5
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user