[K2 Serialization] Store serializable properties in metadata extension

This solution is temporary (see KT-64694 for details)

^KT-64312 Fixed
This commit is contained in:
Dmitriy Novozhilov
2024-01-03 14:01:38 +02:00
committed by Space Team
parent fb3963dead
commit c2cbbecfe9
11 changed files with 116 additions and 5 deletions
@@ -25,6 +25,12 @@ public class SerializationFirJsBoxTestGenerated extends AbstractSerializationFir
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/boxIr"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("clashBetweenSerializableAndNonSerializableProperty.kt")
public void testClashBetweenSerializableAndNonSerializableProperty() throws Exception {
runTest("plugins/kotlinx-serialization/testData/boxIr/clashBetweenSerializableAndNonSerializableProperty.kt");
}
@Test
@TestMetadata("constValInSerialName.kt")
public void testConstValInSerialName() throws Exception {
@@ -45,6 +45,12 @@ public class SerializationFirLightTreeBlackBoxTestGenerated extends AbstractSeri
runTest("plugins/kotlinx-serialization/testData/boxIr/caching.kt");
}
@Test
@TestMetadata("clashBetweenSerializableAndNonSerializableProperty.kt")
public void testClashBetweenSerializableAndNonSerializableProperty() throws Exception {
runTest("plugins/kotlinx-serialization/testData/boxIr/clashBetweenSerializableAndNonSerializableProperty.kt");
}
@Test
@TestMetadata("classSerializerAsObject.kt")
public void testClassSerializerAsObject() throws Exception {
@@ -43,6 +43,12 @@ public class SerializationIrBoxTestGenerated extends AbstractSerializationIrBoxT
runTest("plugins/kotlinx-serialization/testData/boxIr/caching.kt");
}
@Test
@TestMetadata("clashBetweenSerializableAndNonSerializableProperty.kt")
public void testClashBetweenSerializableAndNonSerializableProperty() throws Exception {
runTest("plugins/kotlinx-serialization/testData/boxIr/clashBetweenSerializableAndNonSerializableProperty.kt");
}
@Test
@TestMetadata("classSerializerAsObject.kt")
public void testClassSerializerAsObject() throws Exception {
@@ -25,6 +25,12 @@ public class SerializationIrJsBoxTestGenerated extends AbstractSerializationIrJs
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/boxIr"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("clashBetweenSerializableAndNonSerializableProperty.kt")
public void testClashBetweenSerializableAndNonSerializableProperty() throws Exception {
runTest("plugins/kotlinx-serialization/testData/boxIr/clashBetweenSerializableAndNonSerializableProperty.kt");
}
@Test
@TestMetadata("constValInSerialName.kt")
public void testConstValInSerialName() throws Exception {