@@ -37,6 +37,7 @@ public abstract class StructuralJsonTypeClassifierTests(JsonSerializerWrapper se
3737 } ;
3838
3939 [ Fact ]
40+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
4041 public async Task StructuralClassifier_DistinguishesObjectProperties ( )
4142 {
4243 PetUnion ? dog = await Serializer . DeserializeWrapper < PetUnion > ( """{"Name":"Rex","Breed":"Labrador"}""" , _options ) ;
@@ -58,6 +59,7 @@ public async Task StructuralClassifier_DistinguishesObjectProperties()
5859 [ InlineData ( "true" , typeof ( bool ) ) ]
5960 [ InlineData ( "[1,2,3]" , typeof ( List < int > ) ) ]
6061 [ InlineData ( """{"Name":"Rex","Breed":"Labrador"}""" , typeof ( Dog ) ) ]
62+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
6163 public async Task StructuralClassifier_DistinguishesJsonValueTypes ( string json , Type expectedType )
6264 {
6365 UniqueShapeUnion ? result = await Serializer . DeserializeWrapper < UniqueShapeUnion > ( json , _options ) ;
@@ -110,6 +112,7 @@ public async Task StructuralClassifier_DoesNotSupportPreserveReferences()
110112 }
111113
112114 [ Fact ]
115+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
113116 public async Task StructuralClassifier_UsesJsonTypeInfoPropertyNames ( )
114117 {
115118 RenamedPropertyUnion ? result = await Serializer . DeserializeWrapper < RenamedPropertyUnion > ( """{"kind":"special"}""" , _options ) ;
@@ -119,6 +122,7 @@ public async Task StructuralClassifier_UsesJsonTypeInfoPropertyNames()
119122 }
120123
121124 [ Fact ]
125+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
122126 public async Task StructuralClassifier_UsesCaseInsensitivePropertyNames ( )
123127 {
124128 PetUnion ? dog = await Serializer . DeserializeWrapper < PetUnion > ( """{"\u006eAME":"Rex","breed":"Labrador"}""" , _caseInsensitiveOptions ) ;
@@ -133,6 +137,7 @@ public async Task StructuralClassifier_UsesCaseInsensitivePropertyNames()
133137 }
134138
135139 [ Fact ]
140+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
136141 public void StructuralClassifier_SegmentedEscapedPropertyNameIsClassified ( )
137142 {
138143 byte [ ] json = System . Text . Encoding . UTF8 . GetBytes (
@@ -158,6 +163,7 @@ public void StructuralClassifier_SegmentedEscapedPropertyNameIsClassified()
158163 }
159164
160165 [ Fact ]
166+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
161167 public async Task StructuralClassifier_LongEscapedPropertyNameIsClassified ( )
162168 {
163169 string escapedPropertyName = "\\ u0061" + LongPropertyName . Substring ( 1 ) ;
@@ -321,6 +327,7 @@ public async Task StructuralClassifier_DerivedFactoryCannotClassifyPolymorphicTy
321327 }
322328
323329 [ Fact ]
330+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
324331 public async Task StructuralClassifier_ExtensionDataOverridesGlobalDisallowUnmappedMembers ( )
325332 {
326333 ExtensionDataUnion ? result = await Serializer . DeserializeWrapper < ExtensionDataUnion > (
@@ -344,6 +351,7 @@ public async Task StructuralClassifier_ExtensionDataOverridesGlobalDisallowUnmap
344351 [ InlineData ( """{"Name":"Shared"}""" ) ]
345352 [ InlineData ( "{}" ) ]
346353 [ InlineData ( "true" ) ]
354+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
347355 public async Task StructuralClassifier_AmbiguousOrUnsupportedPayloadThrows ( string json )
348356 {
349357 await Assert . ThrowsAsync < JsonException > (
@@ -354,6 +362,7 @@ await Assert.ThrowsAsync<JsonException>(
354362 [ InlineData ( "{\" Breed\" :" ) ]
355363 [ InlineData ( "{\" Breed\" :[" ) ]
356364 [ InlineData ( "{\" Breed\" :\" Labrador\" " ) ]
365+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
357366 public async Task StructuralClassifier_IncompletePayloadThrowsJsonException ( string json )
358367 {
359368 await Assert . ThrowsAsync < JsonException > (
@@ -364,6 +373,7 @@ await Assert.ThrowsAsync<JsonException>(
364373 [ InlineData ( "{\" Breed\" :" ) ]
365374 [ InlineData ( "{\" Breed\" :[" ) ]
366375 [ InlineData ( "{\" Breed\" :\" Labrador\" " ) ]
376+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
367377 public void StructuralClassifier_NonFinalPayloadThrowsJsonException ( string json )
368378 {
369379 JsonTypeInfo < PetUnion > typeInfo = Serializer . GetTypeInfo < PetUnion > ( _options ) ;
@@ -446,6 +456,7 @@ public async Task StructuralClassifier_RejectsMultipleNonPocoJsonObjectCases()
446456 [ InlineData ( """{"Sku":"A123","Customer":"Contoso","Quantity":2}""" , typeof ( Order ) ) ]
447457 [ InlineData ( """{"Quantity":2}""" , typeof ( Quote ) ) ]
448458 [ InlineData ( "{}" , typeof ( Quote ) ) ]
459+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
449460 public async Task StructuralClassifier_RequiredPropertiesDisqualifyCandidate ( string json , Type expectedType )
450461 {
451462 RequiredPropertyUnion ? result = await Serializer . DeserializeWrapper < RequiredPropertyUnion > ( json , _options ) ;
@@ -457,6 +468,7 @@ public async Task StructuralClassifier_RequiredPropertiesDisqualifyCandidate(str
457468 [ Theory ]
458469 [ InlineData ( """{"Sku":"A123","Quantity":2}""" ) ]
459470 [ InlineData ( """{"Sku":"A123","Sku":"B456","Quantity":2}""" ) ]
471+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
460472 public async Task StructuralClassifier_RequiredPropertyEvidenceCannotFallBackToAnotherCase ( string json )
461473 {
462474 await Assert . ThrowsAsync < JsonException > (
@@ -466,6 +478,7 @@ await Assert.ThrowsAsync<JsonException>(
466478 [ Theory ]
467479 [ InlineData ( """{"Name":"Misty"}""" , typeof ( IdenticalDog ) ) ]
468480 [ InlineData ( """{"Age":5}""" , typeof ( IdenticalCat ) ) ]
481+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
469482 public async Task StructuralClassifier_RequiredPropertiesDistinguishIdenticalNameSets ( string json , Type expectedType )
470483 {
471484 IdenticalPetUnion ? result = await Serializer . DeserializeWrapper < IdenticalPetUnion > ( json , _options ) ;
@@ -475,6 +488,7 @@ public async Task StructuralClassifier_RequiredPropertiesDistinguishIdenticalNam
475488 }
476489
477490 [ Fact ]
491+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
478492 public async Task StructuralClassifier_IdenticalNameSetsRemainAmbiguousWhenAllRequiredPropertiesArePresent ( )
479493 {
480494 await Assert . ThrowsAsync < JsonException > (
@@ -484,6 +498,7 @@ await Assert.ThrowsAsync<JsonException>(
484498 }
485499
486500 [ Fact ]
501+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
487502 public async Task StructuralClassifier_UnmappedMemberHandlingDisallowDisqualifiesCandidate ( )
488503 {
489504 UnmappedMemberUnion ? loose = await Serializer . DeserializeWrapper < UnmappedMemberUnion > ( """{"Id":1,"Extra":"x"}""" , _options ) ;
@@ -505,6 +520,7 @@ public async Task StructuralClassifier_UnmappedMemberHandlingDisallowDisqualifie
505520 [ InlineData ( """{"Common":0,"GroupOne":1,"BetaOnly":2}""" , typeof ( SubtractionBeta ) ) ]
506521 [ InlineData ( """{"Common":0,"GroupTwo":1,"GammaOnly":2}""" , typeof ( SubtractionGamma ) ) ]
507522 [ InlineData ( """{"Common":0,"GroupTwo":1,"DeltaOnly":2}""" , typeof ( SubtractionDelta ) ) ]
523+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
508524 public async Task StructuralClassifier_SubtractsCandidatesAcrossMultipleProperties (
509525 string json ,
510526 Type expectedType )
@@ -521,6 +537,7 @@ public async Task StructuralClassifier_SubtractsCandidatesAcrossMultipleProperti
521537 [ InlineData ( """{"GroupOne":1,"Unknown":0}""" , typeof ( SubtractionAlpha ) ) ]
522538 [ InlineData ( """{"Unknown":0,"GroupTwo":1}""" , typeof ( SubtractionGamma ) ) ]
523539 [ InlineData ( """{"GroupTwo":1,"Unknown":0}""" , typeof ( SubtractionGamma ) ) ]
540+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
524541 public async Task StructuralClassifier_UnknownPropertiesSubtractStrictCandidates (
525542 string json ,
526543 Type expectedType )
@@ -538,6 +555,7 @@ public async Task StructuralClassifier_UnknownPropertiesSubtractStrictCandidates
538555 [ InlineData ( """{"GroupOne":1}""" ) ]
539556 [ InlineData ( """{"GroupTwo":1}""" ) ]
540557 [ InlineData ( """{"AlphaOnly":1,"GammaOnly":2}""" ) ]
558+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
541559 public async Task StructuralClassifier_SubtractionCanProduceNoUniqueCandidate ( string json )
542560 {
543561 await Assert . ThrowsAsync < JsonException > (
@@ -547,6 +565,7 @@ await Assert.ThrowsAsync<JsonException>(
547565 [ Theory ]
548566 [ InlineData ( """{"Name":"Misty","Age":5}""" , typeof ( RequiredOverlapA ) ) ]
549567 [ InlineData ( """{"Name":"Misty","Breed":"Siamese"}""" , typeof ( RequiredOverlapB ) ) ]
568+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
550569 public async Task StructuralClassifier_OverlappingRequiredPropertySetsRemainReachable (
551570 string json ,
552571 Type expectedType )
@@ -562,13 +581,15 @@ public async Task StructuralClassifier_OverlappingRequiredPropertySetsRemainReac
562581 [ InlineData ( """{"AOnly":1,"B1":4,"B2":5}""" ) ]
563582 [ InlineData ( """{"B1":4,"B2":5,"AOnly":1}""" ) ]
564583 [ InlineData ( """{"AOnly":1,"AOnly":2,"AOnly":3,"B1":4,"B2":5}""" ) ]
584+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
565585 public async Task StructuralClassifier_ConflictingPropertyEvidenceThrows ( string json )
566586 {
567587 await Assert . ThrowsAsync < JsonException > (
568588 ( ) => Serializer . DeserializeWrapper < DuplicatePropertyNameUnion > ( json , _options ) ) ;
569589 }
570590
571591 [ Fact ]
592+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
572593 public async Task StructuralClassifier_TracksMoreThan64PropertyNames ( )
573594 {
574595 LargePropertyUnion ? result = await Serializer . DeserializeWrapper < LargePropertyUnion > (
@@ -585,6 +606,7 @@ await Assert.ThrowsAsync<JsonException>(
585606 }
586607
587608 [ Fact ]
609+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
588610 public async Task StructuralClassifier_SupportsMoreThanEightObjectCases ( )
589611 {
590612 ManyObjectCasesUnion ? result = await Serializer . DeserializeWrapper < ManyObjectCasesUnion > (
@@ -596,6 +618,7 @@ public async Task StructuralClassifier_SupportsMoreThanEightObjectCases()
596618 }
597619
598620 [ Fact ]
621+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
599622 public async Task StructuralClassifier_SupportsMoreThan64ObjectCases ( )
600623 {
601624 LargeObjectCaseUnion ? result =
@@ -613,6 +636,7 @@ await Assert.ThrowsAsync<JsonException>(
613636 }
614637
615638 [ Fact ]
639+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
616640 public async Task StructuralClassifier_SupportsSelfReferentialCaseTypes ( )
617641 {
618642 TreeUnion ? tree = await Serializer . DeserializeWrapper < TreeUnion > ( """{"Value":1,"Left":{"Value":2,"Left":null,"Right":null},"Right":null}""" , _options ) ;
0 commit comments