Skip to content

Commit

Permalink
[monotouch-test] Ignore HKQuantityTypeIdentifier.AppleMoveTime on iOS…
Browse files Browse the repository at this point in the history
… versions where it didn't exist.

It was introduced with Xcode 12.5, so ignore it on earlier OS versions.

Partial fix for dotnet#11504.
  • Loading branch information
rolfbjarne committed Jun 1, 2021
1 parent 1c60b17 commit 4b8b6a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/monotouch-test/HealthKit/QuantityTypeIdentifierTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ public void EnumValues_22351 ()
if (!TestRuntime.CheckXcodeVersion (12, TestRuntime.MinorXcode12APIMismatch))
continue;
break;

case HKQuantityTypeIdentifier.AppleMoveTime:
if (!TestRuntime.CheckXcodeVersion (12, 5))
continue;
break;
}

try {
Expand Down

0 comments on commit 4b8b6a2

Please sign in to comment.