[tests][intro] Add mapping for SecAccessControl on macOS (#1754)

Wrench is not happy, but jenkins bots are fine. This is likely something
internal to macOS which varies per version.
This commit is contained in:
Rolf Bjarne Kvinge 2017-02-23 15:56:26 +01:00 коммит произвёл Sebastien Pouliot
Родитель 5482110b5f
Коммит ffc8dad1ec
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -183,6 +183,8 @@ namespace Introspection {
// On 10.7 and 10.8:
// [FAIL] Signature failure in MonoMac.Foundation.NSUrlCredential initWithTrust: Parameter 'trust' (#1) is encoded as '^{OpaqueSecTrustRef=}' and bound as 'MonoMac.Security.SecTrust'
return type.Name == "SecTrust" || type.FullName == "System.IntPtr";
case "^{OpaqueSecAccessControlRef=}":
return type.Name == "SecAccessControl";
}
return base.Check (encodedType, type);
}