[Reflection] Support java sealed classes in kotlin reflection
^KT-46778
This commit is contained in:
committed by
teamcityserver
parent
fa1d09c778
commit
8dad8fa813
+12
@@ -146,6 +146,18 @@ public class BlackBoxModernJdkCodegenTestGenerated extends AbstractBlackBoxCodeg
|
||||
public void testSealedJavaClassViaJavaReflection() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava17/sealedJavaClassViaJavaReflection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedJavaClassViaKotlinReflection.kt")
|
||||
public void testSealedJavaClassViaKotlinReflection() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava17/sealedJavaClassViaKotlinReflection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedJavaInterfaceViaKotlinReflection.kt")
|
||||
public void testSealedJavaInterfaceViaKotlinReflection() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava17/sealedJavaInterfaceViaKotlinReflection.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+12
@@ -146,6 +146,18 @@ public class IrBlackBoxModernJdkCodegenTestGenerated extends AbstractIrBlackBoxC
|
||||
public void testSealedJavaClassViaJavaReflection() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava17/sealedJavaClassViaJavaReflection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedJavaClassViaKotlinReflection.kt")
|
||||
public void testSealedJavaClassViaKotlinReflection() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava17/sealedJavaClassViaKotlinReflection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedJavaInterfaceViaKotlinReflection.kt")
|
||||
public void testSealedJavaInterfaceViaKotlinReflection() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava17/sealedJavaInterfaceViaKotlinReflection.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user