Skip to content

Commit a68758e

Browse files
committed
Fix Unity build.
1 parent e01745e commit a68758e

7 files changed

Lines changed: 121 additions & 121 deletions

test/MsgPack.UnitTest.CodeDom/Serialization/ArrayCodeDomBasedAutoMessagePackSerializerTest.cs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1603,7 +1603,7 @@ public void TestHasInitOnlyFieldWithBothConstructor_Success()
16031603
var result = serializer.Unpack( stream );
16041604
// check the member value deserialized properly.
16051605
Assert.That( result.Member, Is.EqualTo( "123" ) );
1606-
Assert.That( result.WasProperConstructorUsed );
1606+
Assert.That( result.WasProperConstructorUsed() );
16071607
}
16081608
}
16091609

@@ -1656,7 +1656,7 @@ public void TestHasInitOnlyFieldWithAnnotatedConstructor_Success()
16561656
var result = serializer.Unpack( stream );
16571657
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
16581658
Assert.That( result.Member, Is.EqualTo( "ABC" ) );
1659-
Assert.That( result.WasProperConstructorUsed );
1659+
Assert.That( result.WasProperConstructorUsed() );
16601660
}
16611661
}
16621662

@@ -1814,7 +1814,7 @@ public void TestHasReadWriteFieldWithBothConstructor_Success()
18141814
var result = serializer.Unpack( stream );
18151815
// check the member value deserialized properly.
18161816
Assert.That( result.Member, Is.EqualTo( "123" ) );
1817-
Assert.That( result.WasProperConstructorUsed );
1817+
Assert.That( result.WasProperConstructorUsed() );
18181818
}
18191819
}
18201820

@@ -1867,7 +1867,7 @@ public void TestHasReadWriteFieldWithAnnotatedConstructor_Success()
18671867
var result = serializer.Unpack( stream );
18681868
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
18691869
Assert.That( result.Member, Is.EqualTo( "ABC" ) );
1870-
Assert.That( result.WasProperConstructorUsed );
1870+
Assert.That( result.WasProperConstructorUsed() );
18711871
}
18721872
}
18731873

@@ -1978,7 +1978,7 @@ public void TestHasGetOnlyPropertyWithBothConstructor_Success()
19781978
var result = serializer.Unpack( stream );
19791979
// check the member value deserialized properly.
19801980
Assert.That( result.Member, Is.EqualTo( "123" ) );
1981-
Assert.That( result.WasProperConstructorUsed );
1981+
Assert.That( result.WasProperConstructorUsed() );
19821982
}
19831983
}
19841984

@@ -2031,7 +2031,7 @@ public void TestHasGetOnlyPropertyWithAnnotatedConstructor_Success()
20312031
var result = serializer.Unpack( stream );
20322032
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
20332033
Assert.That( result.Member, Is.EqualTo( "ABC" ) );
2034-
Assert.That( result.WasProperConstructorUsed );
2034+
Assert.That( result.WasProperConstructorUsed() );
20352035
}
20362036
}
20372037

@@ -2189,7 +2189,7 @@ public void TestHasPrivateSetterPropertyWithBothConstructor_Success()
21892189
var result = serializer.Unpack( stream );
21902190
// check the member value deserialized properly.
21912191
Assert.That( result.Member, Is.EqualTo( "123" ) );
2192-
Assert.That( result.WasProperConstructorUsed );
2192+
Assert.That( result.WasProperConstructorUsed() );
21932193
}
21942194
}
21952195

@@ -2242,7 +2242,7 @@ public void TestHasPrivateSetterPropertyWithAnnotatedConstructor_Success()
22422242
var result = serializer.Unpack( stream );
22432243
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
22442244
Assert.That( result.Member, Is.EqualTo( "ABC" ) );
2245-
Assert.That( result.WasProperConstructorUsed );
2245+
Assert.That( result.WasProperConstructorUsed() );
22462246
}
22472247
}
22482248

@@ -2400,7 +2400,7 @@ public void TestHasPublicSetterPropertyWithBothConstructor_Success()
24002400
var result = serializer.Unpack( stream );
24012401
// check the member value deserialized properly.
24022402
Assert.That( result.Member, Is.EqualTo( "123" ) );
2403-
Assert.That( result.WasProperConstructorUsed );
2403+
Assert.That( result.WasProperConstructorUsed() );
24042404
}
24052405
}
24062406

@@ -2453,7 +2453,7 @@ public void TestHasPublicSetterPropertyWithAnnotatedConstructor_Success()
24532453
var result = serializer.Unpack( stream );
24542454
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
24552455
Assert.That( result.Member, Is.EqualTo( "ABC" ) );
2456-
Assert.That( result.WasProperConstructorUsed );
2456+
Assert.That( result.WasProperConstructorUsed() );
24572457
}
24582458
}
24592459

@@ -2613,7 +2613,7 @@ public void TestHasInitOnlyAppendableCollectionFieldWithBothConstructor_Success(
26132613
var result = serializer.Unpack( stream );
26142614
// check the member value deserialized properly.
26152615
Assert.That( result.Member, Is.EqualTo( new List<string>{ "123" } ) );
2616-
Assert.That( result.WasProperConstructorUsed );
2616+
Assert.That( result.WasProperConstructorUsed() );
26172617
}
26182618
}
26192619

@@ -2667,7 +2667,7 @@ public void TestHasInitOnlyAppendableCollectionFieldWithAnnotatedConstructor_Suc
26672667
var result = serializer.Unpack( stream );
26682668
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
26692669
Assert.That( result.Member, Is.EqualTo( new List<string>() ) );
2670-
Assert.That( result.WasProperConstructorUsed );
2670+
Assert.That( result.WasProperConstructorUsed() );
26712671
}
26722672
}
26732673

@@ -2828,7 +2828,7 @@ public void TestHasReadWriteAppendableCollectionFieldWithBothConstructor_Success
28282828
var result = serializer.Unpack( stream );
28292829
// check the member value deserialized properly.
28302830
Assert.That( result.Member, Is.EqualTo( new List<string>{ "123" } ) );
2831-
Assert.That( result.WasProperConstructorUsed );
2831+
Assert.That( result.WasProperConstructorUsed() );
28322832
}
28332833
}
28342834

@@ -2882,7 +2882,7 @@ public void TestHasReadWriteAppendableCollectionFieldWithAnnotatedConstructor_Su
28822882
var result = serializer.Unpack( stream );
28832883
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
28842884
Assert.That( result.Member, Is.EqualTo( new List<string>() ) );
2885-
Assert.That( result.WasProperConstructorUsed );
2885+
Assert.That( result.WasProperConstructorUsed() );
28862886
}
28872887
}
28882888

@@ -3043,7 +3043,7 @@ public void TestHasGetOnlyAppendableCollectionPropertyWithBothConstructor_Succes
30433043
var result = serializer.Unpack( stream );
30443044
// check the member value deserialized properly.
30453045
Assert.That( result.Member, Is.EqualTo( new List<string>{ "123" } ) );
3046-
Assert.That( result.WasProperConstructorUsed );
3046+
Assert.That( result.WasProperConstructorUsed() );
30473047
}
30483048
}
30493049

@@ -3097,7 +3097,7 @@ public void TestHasGetOnlyAppendableCollectionPropertyWithAnnotatedConstructor_S
30973097
var result = serializer.Unpack( stream );
30983098
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
30993099
Assert.That( result.Member, Is.EqualTo( new List<string>() ) );
3100-
Assert.That( result.WasProperConstructorUsed );
3100+
Assert.That( result.WasProperConstructorUsed() );
31013101
}
31023102
}
31033103

@@ -3258,7 +3258,7 @@ public void TestHasPrivateSetterAppendableCollectionPropertyWithBothConstructor_
32583258
var result = serializer.Unpack( stream );
32593259
// check the member value deserialized properly.
32603260
Assert.That( result.Member, Is.EqualTo( new List<string>{ "123" } ) );
3261-
Assert.That( result.WasProperConstructorUsed );
3261+
Assert.That( result.WasProperConstructorUsed() );
32623262
}
32633263
}
32643264

@@ -3312,7 +3312,7 @@ public void TestHasPrivateSetterAppendableCollectionPropertyWithAnnotatedConstru
33123312
var result = serializer.Unpack( stream );
33133313
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
33143314
Assert.That( result.Member, Is.EqualTo( new List<string>() ) );
3315-
Assert.That( result.WasProperConstructorUsed );
3315+
Assert.That( result.WasProperConstructorUsed() );
33163316
}
33173317
}
33183318

@@ -3473,7 +3473,7 @@ public void TestHasPublicSetterAppendableCollectionPropertyWithBothConstructor_S
34733473
var result = serializer.Unpack( stream );
34743474
// check the member value deserialized properly.
34753475
Assert.That( result.Member, Is.EqualTo( new List<string>{ "123" } ) );
3476-
Assert.That( result.WasProperConstructorUsed );
3476+
Assert.That( result.WasProperConstructorUsed() );
34773477
}
34783478
}
34793479

@@ -3527,7 +3527,7 @@ public void TestHasPublicSetterAppendableCollectionPropertyWithAnnotatedConstruc
35273527
var result = serializer.Unpack( stream );
35283528
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
35293529
Assert.That( result.Member, Is.EqualTo( new List<string>() ) );
3530-
Assert.That( result.WasProperConstructorUsed );
3530+
Assert.That( result.WasProperConstructorUsed() );
35313531
}
35323532
}
35333533

test/MsgPack.UnitTest.CodeDom/Serialization/MapCodeDomBasedAutoMessagePackSerializerTest.cs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@ public void TestHasInitOnlyFieldWithBothConstructor_Success()
16061606
var result = serializer.Unpack( stream );
16071607
// check the member value deserialized properly.
16081608
Assert.That( result.Member, Is.EqualTo( "123" ) );
1609-
Assert.That( result.WasProperConstructorUsed );
1609+
Assert.That( result.WasProperConstructorUsed() );
16101610
}
16111611
}
16121612

@@ -1661,7 +1661,7 @@ public void TestHasInitOnlyFieldWithAnnotatedConstructor_Success()
16611661
var result = serializer.Unpack( stream );
16621662
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
16631663
Assert.That( result.Member, Is.EqualTo( "ABC" ) );
1664-
Assert.That( result.WasProperConstructorUsed );
1664+
Assert.That( result.WasProperConstructorUsed() );
16651665
}
16661666
}
16671667

@@ -1825,7 +1825,7 @@ public void TestHasReadWriteFieldWithBothConstructor_Success()
18251825
var result = serializer.Unpack( stream );
18261826
// check the member value deserialized properly.
18271827
Assert.That( result.Member, Is.EqualTo( "123" ) );
1828-
Assert.That( result.WasProperConstructorUsed );
1828+
Assert.That( result.WasProperConstructorUsed() );
18291829
}
18301830
}
18311831

@@ -1880,7 +1880,7 @@ public void TestHasReadWriteFieldWithAnnotatedConstructor_Success()
18801880
var result = serializer.Unpack( stream );
18811881
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
18821882
Assert.That( result.Member, Is.EqualTo( "ABC" ) );
1883-
Assert.That( result.WasProperConstructorUsed );
1883+
Assert.That( result.WasProperConstructorUsed() );
18841884
}
18851885
}
18861886

@@ -1995,7 +1995,7 @@ public void TestHasGetOnlyPropertyWithBothConstructor_Success()
19951995
var result = serializer.Unpack( stream );
19961996
// check the member value deserialized properly.
19971997
Assert.That( result.Member, Is.EqualTo( "123" ) );
1998-
Assert.That( result.WasProperConstructorUsed );
1998+
Assert.That( result.WasProperConstructorUsed() );
19991999
}
20002000
}
20012001

@@ -2050,7 +2050,7 @@ public void TestHasGetOnlyPropertyWithAnnotatedConstructor_Success()
20502050
var result = serializer.Unpack( stream );
20512051
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
20522052
Assert.That( result.Member, Is.EqualTo( "ABC" ) );
2053-
Assert.That( result.WasProperConstructorUsed );
2053+
Assert.That( result.WasProperConstructorUsed() );
20542054
}
20552055
}
20562056

@@ -2214,7 +2214,7 @@ public void TestHasPrivateSetterPropertyWithBothConstructor_Success()
22142214
var result = serializer.Unpack( stream );
22152215
// check the member value deserialized properly.
22162216
Assert.That( result.Member, Is.EqualTo( "123" ) );
2217-
Assert.That( result.WasProperConstructorUsed );
2217+
Assert.That( result.WasProperConstructorUsed() );
22182218
}
22192219
}
22202220

@@ -2269,7 +2269,7 @@ public void TestHasPrivateSetterPropertyWithAnnotatedConstructor_Success()
22692269
var result = serializer.Unpack( stream );
22702270
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
22712271
Assert.That( result.Member, Is.EqualTo( "ABC" ) );
2272-
Assert.That( result.WasProperConstructorUsed );
2272+
Assert.That( result.WasProperConstructorUsed() );
22732273
}
22742274
}
22752275

@@ -2433,7 +2433,7 @@ public void TestHasPublicSetterPropertyWithBothConstructor_Success()
24332433
var result = serializer.Unpack( stream );
24342434
// check the member value deserialized properly.
24352435
Assert.That( result.Member, Is.EqualTo( "123" ) );
2436-
Assert.That( result.WasProperConstructorUsed );
2436+
Assert.That( result.WasProperConstructorUsed() );
24372437
}
24382438
}
24392439

@@ -2488,7 +2488,7 @@ public void TestHasPublicSetterPropertyWithAnnotatedConstructor_Success()
24882488
var result = serializer.Unpack( stream );
24892489
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
24902490
Assert.That( result.Member, Is.EqualTo( "ABC" ) );
2491-
Assert.That( result.WasProperConstructorUsed );
2491+
Assert.That( result.WasProperConstructorUsed() );
24922492
}
24932493
}
24942494

@@ -2654,7 +2654,7 @@ public void TestHasInitOnlyAppendableCollectionFieldWithBothConstructor_Success(
26542654
var result = serializer.Unpack( stream );
26552655
// check the member value deserialized properly.
26562656
Assert.That( result.Member, Is.EqualTo( new List<string>{ "123" } ) );
2657-
Assert.That( result.WasProperConstructorUsed );
2657+
Assert.That( result.WasProperConstructorUsed() );
26582658
}
26592659
}
26602660

@@ -2710,7 +2710,7 @@ public void TestHasInitOnlyAppendableCollectionFieldWithAnnotatedConstructor_Suc
27102710
var result = serializer.Unpack( stream );
27112711
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
27122712
Assert.That( result.Member, Is.EqualTo( new List<string>() ) );
2713-
Assert.That( result.WasProperConstructorUsed );
2713+
Assert.That( result.WasProperConstructorUsed() );
27142714
}
27152715
}
27162716

@@ -2877,7 +2877,7 @@ public void TestHasReadWriteAppendableCollectionFieldWithBothConstructor_Success
28772877
var result = serializer.Unpack( stream );
28782878
// check the member value deserialized properly.
28792879
Assert.That( result.Member, Is.EqualTo( new List<string>{ "123" } ) );
2880-
Assert.That( result.WasProperConstructorUsed );
2880+
Assert.That( result.WasProperConstructorUsed() );
28812881
}
28822882
}
28832883

@@ -2933,7 +2933,7 @@ public void TestHasReadWriteAppendableCollectionFieldWithAnnotatedConstructor_Su
29332933
var result = serializer.Unpack( stream );
29342934
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
29352935
Assert.That( result.Member, Is.EqualTo( new List<string>() ) );
2936-
Assert.That( result.WasProperConstructorUsed );
2936+
Assert.That( result.WasProperConstructorUsed() );
29372937
}
29382938
}
29392939

@@ -3100,7 +3100,7 @@ public void TestHasGetOnlyAppendableCollectionPropertyWithBothConstructor_Succes
31003100
var result = serializer.Unpack( stream );
31013101
// check the member value deserialized properly.
31023102
Assert.That( result.Member, Is.EqualTo( new List<string>{ "123" } ) );
3103-
Assert.That( result.WasProperConstructorUsed );
3103+
Assert.That( result.WasProperConstructorUsed() );
31043104
}
31053105
}
31063106

@@ -3156,7 +3156,7 @@ public void TestHasGetOnlyAppendableCollectionPropertyWithAnnotatedConstructor_S
31563156
var result = serializer.Unpack( stream );
31573157
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
31583158
Assert.That( result.Member, Is.EqualTo( new List<string>() ) );
3159-
Assert.That( result.WasProperConstructorUsed );
3159+
Assert.That( result.WasProperConstructorUsed() );
31603160
}
31613161
}
31623162

@@ -3323,7 +3323,7 @@ public void TestHasPrivateSetterAppendableCollectionPropertyWithBothConstructor_
33233323
var result = serializer.Unpack( stream );
33243324
// check the member value deserialized properly.
33253325
Assert.That( result.Member, Is.EqualTo( new List<string>{ "123" } ) );
3326-
Assert.That( result.WasProperConstructorUsed );
3326+
Assert.That( result.WasProperConstructorUsed() );
33273327
}
33283328
}
33293329

@@ -3379,7 +3379,7 @@ public void TestHasPrivateSetterAppendableCollectionPropertyWithAnnotatedConstru
33793379
var result = serializer.Unpack( stream );
33803380
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
33813381
Assert.That( result.Member, Is.EqualTo( new List<string>() ) );
3382-
Assert.That( result.WasProperConstructorUsed );
3382+
Assert.That( result.WasProperConstructorUsed() );
33833383
}
33843384
}
33853385

@@ -3546,7 +3546,7 @@ public void TestHasPublicSetterAppendableCollectionPropertyWithBothConstructor_S
35463546
var result = serializer.Unpack( stream );
35473547
// check the member value deserialized properly.
35483548
Assert.That( result.Member, Is.EqualTo( new List<string>{ "123" } ) );
3549-
Assert.That( result.WasProperConstructorUsed );
3549+
Assert.That( result.WasProperConstructorUsed() );
35503550
}
35513551
}
35523552

@@ -3602,7 +3602,7 @@ public void TestHasPublicSetterAppendableCollectionPropertyWithAnnotatedConstruc
36023602
var result = serializer.Unpack( stream );
36033603
// dummy annotated constructor does not take the value, so the deserialized value should be "default" of the type.
36043604
Assert.That( result.Member, Is.EqualTo( new List<string>() ) );
3605-
Assert.That( result.WasProperConstructorUsed );
3605+
Assert.That( result.WasProperConstructorUsed() );
36063606
}
36073607
}
36083608

0 commit comments

Comments
 (0)