SerializationDescriptorTest

Verifies that generated serialization annotations produce correct descriptor contracts.

Layer D: Serialization Descriptor Contract Tests.

These tests verify that @SerialName and @SerializedName annotation values in generated source code match the exact expected wire names. Ordinary response model classes intentionally omit class-level @SerialName so kotlinx.serialization uses the generated fully qualified class name as the descriptor identity. Property annotations and enum literal annotations still correspond to serializer().descriptor.getElementName(index) values.

All assertions use EXACT string matching, not substring matching.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun setUp()