[FIR] Generate java declarations for record components of java records
^KT-53964 Fixed
This commit is contained in:
Generated
+12
@@ -32103,6 +32103,18 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
runTest("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/irrelevantFields.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaRecordWithExplicitComponent.kt")
|
||||
public void testJavaRecordWithExplicitComponent() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/javaRecordWithExplicitComponent.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaRecordWithGeneric.kt")
|
||||
public void testJavaRecordWithGeneric() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/javaRecordWithGeneric.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmRecordDescriptorStructure.kt")
|
||||
public void testJvmRecordDescriptorStructure() throws Exception {
|
||||
|
||||
Generated
+16
@@ -942,6 +942,22 @@ public class IrTextTestGenerated extends AbstractIrTextTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/ir/irText/declarations/jvmRecord")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class JvmRecord {
|
||||
@Test
|
||||
public void testAllFilesPresentInJvmRecord() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/declarations/jvmRecord"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaRecordComponentAccess.kt")
|
||||
public void testJavaRecordComponentAccess() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/jvmRecord/javaRecordComponentAccess.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/ir/irText/declarations/multiplatform")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user