Skip to content

Commit 9c499ae

Browse files
committed
Update generated serializers for testing.
1 parent 86fac62 commit 9c499ae

File tree

44 files changed

+132
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+132
-0
lines changed

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_AnnotatedClassSerializer.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,9 @@ protected internal override MsgPack.Serialization.AnnotatedClass UnpackFromCore(
426426
result.PublicProperty = nullable7.Value;
427427
}
428428
}
429+
else {
430+
unpacker.Skip();
431+
}
429432
}
430433
}
431434
}

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeGeneratedEnclosureSerializer.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,9 @@ protected internal override MsgPack.Serialization.ComplexTypeGeneratedEnclosure
270270
result.Name = nullable2;
271271
}
272272
}
273+
else {
274+
unpacker.Skip();
275+
}
273276
}
274277
}
275278
}

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeGeneratedSerializer.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4878,6 +4878,9 @@ protected internal override MsgPack.Serialization.ComplexTypeGenerated UnpackFro
48784878
}
48794879
}
48804880
}
4881+
else {
4882+
unpacker.Skip();
4883+
}
48814884
}
48824885
}
48834886
}

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeSerializer.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,9 @@ protected internal override MsgPack.Serialization.ComplexType UnpackFromCore(Msg
275275
result.Source = nullable4;
276276
}
277277
}
278+
else {
279+
unpacker.Skip();
280+
}
278281
}
279282
}
280283
}

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeWithDataContractSerializer.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,9 @@ protected internal override MsgPack.Serialization.ComplexTypeWithDataContract Un
419419
result.Data = nullable4;
420420
}
421421
}
422+
else {
423+
unpacker.Skip();
424+
}
422425
}
423426
}
424427
}

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeWithDataContractWithOrderSerializer.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,9 @@ protected internal override MsgPack.Serialization.ComplexTypeWithDataContractWit
423423
result.Source = nullable4;
424424
}
425425
}
426+
else {
427+
unpacker.Skip();
428+
}
426429
}
427430
}
428431
}

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeWithNonSerializedSerializer.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,9 @@ protected internal override MsgPack.Serialization.ComplexTypeWithNonSerialized U
427427
result.Data = nullable4;
428428
}
429429
}
430+
else {
431+
unpacker.Skip();
432+
}
430433
}
431434
}
432435
}

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeWithOneBaseOrderSerializer.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@ protected internal override MsgPack.Serialization.ComplexTypeWithOneBaseOrder Un
235235
result.One = nullable2.Value;
236236
}
237237
}
238+
else {
239+
unpacker.Skip();
240+
}
238241
}
239242
}
240243
}

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeWithTwoMemberSerializer.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,9 @@ protected internal override MsgPack.Serialization.ComplexTypeWithTwoMember Unpac
241241
result.Value1 = nullable2;
242242
}
243243
}
244+
else {
245+
unpacker.Skip();
246+
}
244247
}
245248
}
246249
}

test/MsgPack.UnitTest/Serialization/GeneratedSerializers/ArrayBased/MsgPack_Serialization_ComplexTypeWithoutAnyAttributeSerializer.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,9 @@ protected internal override MsgPack.Serialization.ComplexTypeWithoutAnyAttribute
431431
result.Data = nullable4;
432432
}
433433
}
434+
else {
435+
unpacker.Skip();
436+
}
434437
}
435438
}
436439
}

0 commit comments

Comments
 (0)