Added test on Serializable(with=...) in K2

This commit is contained in:
Sergey.Shanshin
2022-09-23 11:56:19 +00:00
committed by Space
parent 221043a74d
commit 9210108d5a
4 changed files with 161 additions and 0 deletions
@@ -144,5 +144,11 @@ public class SerializationFirBlackBoxTestGenerated extends AbstractSerialization
public void testSerializableObject() throws Exception {
runTest("plugins/kotlinx-serialization/testData/firMembers/serializableObject.kt");
}
@Test
@TestMetadata("serializableWith.kt")
public void testSerializableWith() throws Exception {
runTest("plugins/kotlinx-serialization/testData/firMembers/serializableWith.kt");
}
}
}
@@ -191,5 +191,11 @@ public class SerializationFirDiagnosticTestGenerated extends AbstractSerializati
public void testSerializableObject() throws Exception {
runTest("plugins/kotlinx-serialization/testData/firMembers/serializableObject.kt");
}
@Test
@TestMetadata("serializableWith.kt")
public void testSerializableWith() throws Exception {
runTest("plugins/kotlinx-serialization/testData/firMembers/serializableWith.kt");
}
}
}