Skip to content

Commit

Permalink
syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
tj_devel709 committed Aug 10, 2021
1 parent 3b1d577 commit 2960e20
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/introspection/ApiSelectorTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -840,12 +840,14 @@ protected virtual bool Skip (Type type, string selectorName)
if (selectorName == "waitUntilExit")
return true;
break;
#if !__MACOS__
case "SHCustomCatalog":
switch (selectorName) {
case "new":
// This selector does not exist in the simulator
if (Runtime.Arch == Arch.SIMULATOR)
return true;
break;
}
break;
case "SHMediaItem":
Expand All @@ -855,6 +857,7 @@ protected virtual bool Skip (Type type, string selectorName)
// This selector does not exist in the simulator
if (Runtime.Arch == Arch.SIMULATOR)
return true;
break;
}
break;
case "SHMediaLibrary":
Expand All @@ -863,6 +866,7 @@ protected virtual bool Skip (Type type, string selectorName)
// This selector does not exist in the simulator
if (Runtime.Arch == Arch.SIMULATOR)
return true;
break;
}
break;
case "SHSignature":
Expand All @@ -871,9 +875,11 @@ protected virtual bool Skip (Type type, string selectorName)
// This selector does not exist in the simulator
if (Runtime.Arch == Arch.SIMULATOR)
return true;
break;
}
break;
}
#endif

// old binding mistake
return (selectorName == "initWithCoder:");
Expand Down

0 comments on commit 2960e20

Please sign in to comment.