K2: Added test for data class metadata

#KT-57622 Fixed
This commit is contained in:
Pavel Kunyavskiy
2023-04-18 14:36:46 +02:00
committed by Space Team
parent f48142a6e6
commit f67f8c393b
20 changed files with 146 additions and 0 deletions
@@ -9989,6 +9989,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/dataClasses/floatParam.kt");
}
@Test
@TestMetadata("fromOtherModule.kt")
public void testFromOtherModule() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/fromOtherModule.kt");
}
@Test
@TestMetadata("genericParam.kt")
public void testGenericParam() throws Exception {
@@ -10085,6 +10085,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/dataClasses/floatParam.kt");
}
@Test
@TestMetadata("fromOtherModule.kt")
public void testFromOtherModule() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/fromOtherModule.kt");
}
@Test
@TestMetadata("genericParam.kt")
public void testGenericParam() throws Exception {
@@ -10085,6 +10085,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/dataClasses/floatParam.kt");
}
@Test
@TestMetadata("fromOtherModule.kt")
public void testFromOtherModule() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/fromOtherModule.kt");
}
@Test
@TestMetadata("genericParam.kt")
public void testGenericParam() throws Exception {
@@ -10085,6 +10085,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
runTest("compiler/testData/codegen/box/dataClasses/floatParam.kt");
}
@Test
@TestMetadata("fromOtherModule.kt")
public void testFromOtherModule() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/fromOtherModule.kt");
}
@Test
@TestMetadata("genericParam.kt")
public void testGenericParam() throws Exception {