[tvos] Fix introspection tests for tvOS (#267)

Wrong check for version

[FAIL] Default constructor not allowed for CoreLocation.CLCircularRegion : Can only check iOS system version on iOS.
[FAIL] Default constructor not allowed for AVFoundation.AVAudioSessionDataSourceDescription : Can only check iOS system version on iOS.
[FAIL] Default constructor not allowed for AVFoundation.AVAudioSessionPortDescription : Can only check iOS system version on iOS.

and a change in tvOS 10 SDK

[FAIL] Selector not found for TVMLKit.TVViewElement : setDisabled:
This commit is contained in:
Sebastien Pouliot 2016-06-23 14:38:43 -04:00 коммит произвёл GitHub
Родитель ca718991df
Коммит 50381a8e7b
2 изменённых файлов: 5 добавлений и 2 удалений

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

@ -726,7 +726,10 @@ namespace XamCore.TVMLKit {
string AutoHighlightIdentifier { get; }
[Export ("disabled")]
bool Disabled { [Bind ("isDisabled")] get; set; }
bool Disabled {
[Bind ("isDisabled")] get;
[NotImplemented] set; // made read-only in 10.0
}
[Export ("updateType")]
TVElementUpdateType UpdateType { get; }

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

@ -295,7 +295,7 @@ namespace Introspection {
case "AVAudioSessionPortDescription":
case "CLBeacon":
case "CLCircularRegion":
if (CheckiOSSystemVersion (10, 0))
if (CheckiOSOrTVOSSystemVersion (10, 0))
return;
break;
default: