@@ -37,7 +37,6 @@ public abstract class StructuralJsonTypeClassifierTests(JsonSerializerWrapper se
3737 } ;
3838
3939 [ Fact ]
40- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
4140 public async Task StructuralClassifier_DistinguishesObjectProperties ( )
4241 {
4342 PetUnion ? dog = await Serializer . DeserializeWrapper < PetUnion > ( """{"Name":"Rex","Breed":"Labrador"}""" , _options ) ;
@@ -59,7 +58,6 @@ public async Task StructuralClassifier_DistinguishesObjectProperties()
5958 [ InlineData ( "true" , typeof ( bool ) ) ]
6059 [ InlineData ( "[1,2,3]" , typeof ( List < int > ) ) ]
6160 [ InlineData ( """{"Name":"Rex","Breed":"Labrador"}""" , typeof ( Dog ) ) ]
62- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
6361 public async Task StructuralClassifier_DistinguishesJsonValueTypes ( string json , Type expectedType )
6462 {
6563 UniqueShapeUnion ? result = await Serializer . DeserializeWrapper < UniqueShapeUnion > ( json , _options ) ;
@@ -112,7 +110,6 @@ public async Task StructuralClassifier_DoesNotSupportPreserveReferences()
112110 }
113111
114112 [ Fact ]
115- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
116113 public async Task StructuralClassifier_UsesJsonTypeInfoPropertyNames ( )
117114 {
118115 RenamedPropertyUnion ? result = await Serializer . DeserializeWrapper < RenamedPropertyUnion > ( """{"kind":"special"}""" , _options ) ;
@@ -122,7 +119,6 @@ public async Task StructuralClassifier_UsesJsonTypeInfoPropertyNames()
122119 }
123120
124121 [ Fact ]
125- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
126122 public async Task StructuralClassifier_UsesCaseInsensitivePropertyNames ( )
127123 {
128124 PetUnion ? dog = await Serializer . DeserializeWrapper < PetUnion > ( """{"\u006eAME":"Rex","breed":"Labrador"}""" , _caseInsensitiveOptions ) ;
@@ -137,7 +133,6 @@ public async Task StructuralClassifier_UsesCaseInsensitivePropertyNames()
137133 }
138134
139135 [ Fact ]
140- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
141136 public void StructuralClassifier_SegmentedEscapedPropertyNameIsClassified ( )
142137 {
143138 byte [ ] json = System . Text . Encoding . UTF8 . GetBytes (
@@ -163,7 +158,6 @@ public void StructuralClassifier_SegmentedEscapedPropertyNameIsClassified()
163158 }
164159
165160 [ Fact ]
166- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
167161 public async Task StructuralClassifier_LongEscapedPropertyNameIsClassified ( )
168162 {
169163 string escapedPropertyName = "\\ u0061" + LongPropertyName . Substring ( 1 ) ;
@@ -327,7 +321,6 @@ public async Task StructuralClassifier_DerivedFactoryCannotClassifyPolymorphicTy
327321 }
328322
329323 [ Fact ]
330- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
331324 public async Task StructuralClassifier_ExtensionDataOverridesGlobalDisallowUnmappedMembers ( )
332325 {
333326 ExtensionDataUnion ? result = await Serializer . DeserializeWrapper < ExtensionDataUnion > (
@@ -351,7 +344,6 @@ public async Task StructuralClassifier_ExtensionDataOverridesGlobalDisallowUnmap
351344 [ InlineData ( """{"Name":"Shared"}""" ) ]
352345 [ InlineData ( "{}" ) ]
353346 [ InlineData ( "true" ) ]
354- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
355347 public async Task StructuralClassifier_AmbiguousOrUnsupportedPayloadThrows ( string json )
356348 {
357349 await Assert . ThrowsAsync < JsonException > (
@@ -362,7 +354,6 @@ await Assert.ThrowsAsync<JsonException>(
362354 [ InlineData ( "{\" Breed\" :" ) ]
363355 [ InlineData ( "{\" Breed\" :[" ) ]
364356 [ InlineData ( "{\" Breed\" :\" Labrador\" " ) ]
365- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
366357 public async Task StructuralClassifier_IncompletePayloadThrowsJsonException ( string json )
367358 {
368359 await Assert . ThrowsAsync < JsonException > (
@@ -373,7 +364,6 @@ await Assert.ThrowsAsync<JsonException>(
373364 [ InlineData ( "{\" Breed\" :" ) ]
374365 [ InlineData ( "{\" Breed\" :[" ) ]
375366 [ InlineData ( "{\" Breed\" :\" Labrador\" " ) ]
376- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
377367 public void StructuralClassifier_NonFinalPayloadThrowsJsonException ( string json )
378368 {
379369 JsonTypeInfo < PetUnion > typeInfo = Serializer . GetTypeInfo < PetUnion > ( _options ) ;
@@ -456,7 +446,6 @@ public async Task StructuralClassifier_RejectsMultipleNonPocoJsonObjectCases()
456446 [ InlineData ( """{"Sku":"A123","Customer":"Contoso","Quantity":2}""" , typeof ( Order ) ) ]
457447 [ InlineData ( """{"Quantity":2}""" , typeof ( Quote ) ) ]
458448 [ InlineData ( "{}" , typeof ( Quote ) ) ]
459- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
460449 public async Task StructuralClassifier_RequiredPropertiesDisqualifyCandidate ( string json , Type expectedType )
461450 {
462451 RequiredPropertyUnion ? result = await Serializer . DeserializeWrapper < RequiredPropertyUnion > ( json , _options ) ;
@@ -468,7 +457,6 @@ public async Task StructuralClassifier_RequiredPropertiesDisqualifyCandidate(str
468457 [ Theory ]
469458 [ InlineData ( """{"Sku":"A123","Quantity":2}""" ) ]
470459 [ InlineData ( """{"Sku":"A123","Sku":"B456","Quantity":2}""" ) ]
471- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
472460 public async Task StructuralClassifier_RequiredPropertyEvidenceCannotFallBackToAnotherCase ( string json )
473461 {
474462 await Assert . ThrowsAsync < JsonException > (
@@ -478,7 +466,6 @@ await Assert.ThrowsAsync<JsonException>(
478466 [ Theory ]
479467 [ InlineData ( """{"Name":"Misty"}""" , typeof ( IdenticalDog ) ) ]
480468 [ InlineData ( """{"Age":5}""" , typeof ( IdenticalCat ) ) ]
481- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
482469 public async Task StructuralClassifier_RequiredPropertiesDistinguishIdenticalNameSets ( string json , Type expectedType )
483470 {
484471 IdenticalPetUnion ? result = await Serializer . DeserializeWrapper < IdenticalPetUnion > ( json , _options ) ;
@@ -488,7 +475,6 @@ public async Task StructuralClassifier_RequiredPropertiesDistinguishIdenticalNam
488475 }
489476
490477 [ Fact ]
491- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
492478 public async Task StructuralClassifier_IdenticalNameSetsRemainAmbiguousWhenAllRequiredPropertiesArePresent ( )
493479 {
494480 await Assert . ThrowsAsync < JsonException > (
@@ -498,7 +484,6 @@ await Assert.ThrowsAsync<JsonException>(
498484 }
499485
500486 [ Fact ]
501- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
502487 public async Task StructuralClassifier_UnmappedMemberHandlingDisallowDisqualifiesCandidate ( )
503488 {
504489 UnmappedMemberUnion ? loose = await Serializer . DeserializeWrapper < UnmappedMemberUnion > ( """{"Id":1,"Extra":"x"}""" , _options ) ;
@@ -520,7 +505,6 @@ public async Task StructuralClassifier_UnmappedMemberHandlingDisallowDisqualifie
520505 [ InlineData ( """{"Common":0,"GroupOne":1,"BetaOnly":2}""" , typeof ( SubtractionBeta ) ) ]
521506 [ InlineData ( """{"Common":0,"GroupTwo":1,"GammaOnly":2}""" , typeof ( SubtractionGamma ) ) ]
522507 [ InlineData ( """{"Common":0,"GroupTwo":1,"DeltaOnly":2}""" , typeof ( SubtractionDelta ) ) ]
523- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
524508 public async Task StructuralClassifier_SubtractsCandidatesAcrossMultipleProperties (
525509 string json ,
526510 Type expectedType )
@@ -537,7 +521,6 @@ public async Task StructuralClassifier_SubtractsCandidatesAcrossMultipleProperti
537521 [ InlineData ( """{"GroupOne":1,"Unknown":0}""" , typeof ( SubtractionAlpha ) ) ]
538522 [ InlineData ( """{"Unknown":0,"GroupTwo":1}""" , typeof ( SubtractionGamma ) ) ]
539523 [ InlineData ( """{"GroupTwo":1,"Unknown":0}""" , typeof ( SubtractionGamma ) ) ]
540- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
541524 public async Task StructuralClassifier_UnknownPropertiesSubtractStrictCandidates (
542525 string json ,
543526 Type expectedType )
@@ -555,7 +538,6 @@ public async Task StructuralClassifier_UnknownPropertiesSubtractStrictCandidates
555538 [ InlineData ( """{"GroupOne":1}""" ) ]
556539 [ InlineData ( """{"GroupTwo":1}""" ) ]
557540 [ InlineData ( """{"AlphaOnly":1,"GammaOnly":2}""" ) ]
558- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
559541 public async Task StructuralClassifier_SubtractionCanProduceNoUniqueCandidate ( string json )
560542 {
561543 await Assert . ThrowsAsync < JsonException > (
@@ -565,7 +547,6 @@ await Assert.ThrowsAsync<JsonException>(
565547 [ Theory ]
566548 [ InlineData ( """{"Name":"Misty","Age":5}""" , typeof ( RequiredOverlapA ) ) ]
567549 [ InlineData ( """{"Name":"Misty","Breed":"Siamese"}""" , typeof ( RequiredOverlapB ) ) ]
568- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
569550 public async Task StructuralClassifier_OverlappingRequiredPropertySetsRemainReachable (
570551 string json ,
571552 Type expectedType )
@@ -581,15 +562,13 @@ public async Task StructuralClassifier_OverlappingRequiredPropertySetsRemainReac
581562 [ InlineData ( """{"AOnly":1,"B1":4,"B2":5}""" ) ]
582563 [ InlineData ( """{"B1":4,"B2":5,"AOnly":1}""" ) ]
583564 [ InlineData ( """{"AOnly":1,"AOnly":2,"AOnly":3,"B1":4,"B2":5}""" ) ]
584- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
585565 public async Task StructuralClassifier_ConflictingPropertyEvidenceThrows ( string json )
586566 {
587567 await Assert . ThrowsAsync < JsonException > (
588568 ( ) => Serializer . DeserializeWrapper < DuplicatePropertyNameUnion > ( json , _options ) ) ;
589569 }
590570
591571 [ Fact ]
592- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
593572 public async Task StructuralClassifier_TracksMoreThan64PropertyNames ( )
594573 {
595574 LargePropertyUnion ? result = await Serializer . DeserializeWrapper < LargePropertyUnion > (
@@ -606,7 +585,6 @@ await Assert.ThrowsAsync<JsonException>(
606585 }
607586
608587 [ Fact ]
609- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
610588 public async Task StructuralClassifier_SupportsMoreThanEightObjectCases ( )
611589 {
612590 ManyObjectCasesUnion ? result = await Serializer . DeserializeWrapper < ManyObjectCasesUnion > (
@@ -618,7 +596,6 @@ public async Task StructuralClassifier_SupportsMoreThanEightObjectCases()
618596 }
619597
620598 [ Fact ]
621- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
622599 public async Task StructuralClassifier_SupportsMoreThan64ObjectCases ( )
623600 {
624601 LargeObjectCaseUnion ? result =
@@ -636,7 +613,6 @@ await Assert.ThrowsAsync<JsonException>(
636613 }
637614
638615 [ Fact ]
639- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99126" , TestPlatforms . Wasi ) ]
640616 public async Task StructuralClassifier_SupportsSelfReferentialCaseTypes ( )
641617 {
642618 TreeUnion ? tree = await Serializer . DeserializeWrapper < TreeUnion > ( """{"Value":1,"Left":{"Value":2,"Left":null,"Right":null},"Right":null}""" , _options ) ;
0 commit comments