[monotouch-test] Use protocols available in all platforms in ProtocolTest.

This commit is contained in:
Rolf Bjarne Kvinge 2018-02-14 09:35:25 +01:00
Родитель e14aa74c70
Коммит 2afed0342c
1 изменённых файлов: 3 добавлений и 4 удалений

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

@ -30,10 +30,9 @@ namespace MonoTouchFixtures.ObjCRuntime
public void Ctors ()
{
var data = new [] {
new { Type = typeof (INSObjectProtocol), Name = "NSObject" },
#if !__WATCHOS__
new { Type = typeof (global::ModelIO.IMDLComponent), Name = "MDLComponent" },
#endif
new { Type = typeof (INSObjectProtocol), Name = "NSObject" }, // protocol name doesn't match at all
new { Type = typeof (INSUrlSessionDownloadDelegate), Name = "NSURLSessionDownloadDelegate" }, // different casing in native
new { Type = typeof (global::HomeKit.IHMHomeDelegate), Name = "HMHomeDelegate" }, // protocol name is the same in native and managed
};
foreach (var d in data) {