Skip to content

Commit fa5f323

Browse files
authored
[tests][intro] Fix protocol results for macOS 12 beta (#12347)
IOW move some custom checks from iOS to the base class that also covers macOS.
1 parent a91e34f commit fa5f323

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

tests/introspection/ApiProtocolTest.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ protected virtual bool Skip (Type type, string protocolName)
129129
return true;
130130
// Xcode 13
131131
case "HKVerifiableClinicalRecord":
132+
case "PKDeferredPaymentSummaryItem":
133+
case "PKRecurringPaymentSummaryItem":
134+
case "PKStoredValuePassProperties":
135+
case "SNTimeDurationConstraint": // Conformance not in headers
132136
return true;
133137
}
134138
break;
@@ -250,6 +254,13 @@ protected virtual bool Skip (Type type, string protocolName)
250254
return true;
251255
// Xcode 12.5
252256
case "GCDualSenseGamepad":
257+
// Xcode 13
258+
case "PKDeferredPaymentSummaryItem":
259+
case "PKPaymentRequestCouponCodeUpdate":
260+
case "PKRecurringPaymentSummaryItem":
261+
case "PKStoredValuePassBalance":
262+
case "PKStoredValuePassProperties":
263+
case "SNTimeDurationConstraint": // Conformance not in headers
253264
return true;
254265
}
255266
break;
@@ -367,6 +378,13 @@ protected virtual bool Skip (Type type, string protocolName)
367378
return true;
368379
// Xcode 12.5
369380
case "GCDualSenseGamepad":
381+
// xcode 13
382+
case "PKDeferredPaymentSummaryItem":
383+
case "PKPaymentRequestCouponCodeUpdate":
384+
case "PKRecurringPaymentSummaryItem":
385+
case "PKStoredValuePassBalance":
386+
case "PKStoredValuePassProperties":
387+
case "SNTimeDurationConstraint": // Conformance not in headers
370388
return true;
371389
}
372390
break;

tests/introspection/iOS/iOSApiProtocolTest.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -441,12 +441,6 @@ protected override bool Skip (Type type, string protocolName)
441441
case "ARSkeletonDefinition": // device only
442442
case "ARVideoFormat": // device only
443443
case "NSMergePolicy":
444-
case "SNTimeDurationConstraint": // Conformance not in headers
445-
case "PKDeferredPaymentSummaryItem":
446-
case "PKPaymentRequestCouponCodeUpdate":
447-
case "PKRecurringPaymentSummaryItem":
448-
case "PKStoredValuePassBalance":
449-
case "PKStoredValuePassProperties":
450444
case "SFSafariViewControllerPrewarmingToken": // conformance not in headers
451445
case "SRTextInputSession": // conformance not in headers
452446
return true;
@@ -688,12 +682,6 @@ protected override bool Skip (Type type, string protocolName)
688682
case "ARSkeletonDefinition": // device only
689683
case "ARVideoFormat": // device only
690684
case "NSMergePolicy":
691-
case "SNTimeDurationConstraint": // Conformance not in headers
692-
case "PKDeferredPaymentSummaryItem":
693-
case "PKPaymentRequestCouponCodeUpdate":
694-
case "PKRecurringPaymentSummaryItem":
695-
case "PKStoredValuePassBalance":
696-
case "PKStoredValuePassProperties":
697685
case "SFSafariViewControllerPrewarmingToken": // conformance not in headers
698686
case "SRTextInputSession": // conformance not in headers
699687
return true;
@@ -779,10 +767,6 @@ protected override bool Skip (Type type, string protocolName)
779767
case "NSMappingModel":
780768
case "NSMergePolicy":
781769
case "NSPropertyMapping":
782-
case "SNTimeDurationConstraint": // Conformance not in headers"
783-
case "PKDeferredPaymentSummaryItem":
784-
case "PKRecurringPaymentSummaryItem":
785-
case "PKStoredValuePassProperties":
786770
return true;
787771
}
788772
break;

0 commit comments

Comments
 (0)