Fix broken introspection tests on macOS 10.15. Fixes #6998. (#6999)

* Fix broken introspec tests on macOS 10.15

* Add aliases

* Add fields to .ignore

* Remove new line

* Add comment to .ignore
This commit is contained in:
Waleed Chaudhry 2019-09-17 02:40:34 -04:00 коммит произвёл Rolf Bjarne Kvinge
Родитель 2225994c2c
Коммит 706581c1ab
5 изменённых файлов: 38 добавлений и 22 удалений

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

@ -114,9 +114,9 @@ namespace MapKit {
[TV (9,2)][NoWatch][iOS (9,3)] [TV (9,2)][NoWatch][iOS (9,3)]
[Native] [Native]
[Deprecated (PlatformName.iOS, 13, 0, message: "Use `MKLocalSearchCompleterResultType` instead.")] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'MKLocalSearchCompleterResultType' instead.")]
[Deprecated (PlatformName.MacOSX, 10, 15, message: "Use `MKLocalSearchCompleterResultType` instead.")] [Deprecated (PlatformName.MacOSX, 10, 15, message: "Use 'MKLocalSearchCompleterResultType' instead.")]
[Deprecated (PlatformName.TvOS, 13, 0, message: "Use `MKLocalSearchCompleterResultType` instead.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'MKLocalSearchCompleterResultType' instead.")]
public enum MKSearchCompletionFilterType : long { public enum MKSearchCompletionFilterType : long {
AndQueries = 0, AndQueries = 0,
Only Only

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

@ -5985,39 +5985,39 @@ namespace AVFoundation {
[Field ("AVMetadataIdentifierQuickTimeMetadataContentIdentifier")] [Field ("AVMetadataIdentifierQuickTimeMetadataContentIdentifier")]
NSString ContentIdentifier { get; } NSString ContentIdentifier { get; }
[Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] [Watch (6, 0), TV (13, 0), NoMac, iOS (13, 0)]
[Field ("AVMetadataIdentifierQuickTimeMetadataSpatialOverCaptureQualityScoringVersion")] [Field ("AVMetadataIdentifierQuickTimeMetadataSpatialOverCaptureQualityScoringVersion")]
NSString SpatialOverCaptureQualityScoringVersion { get; } NSString SpatialOverCaptureQualityScoringVersion { get; }
[Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] [Watch (6, 0), TV (13, 0), NoMac, iOS (13, 0)]
[Field ("AVMetadataIdentifierQuickTimeMetadataSpatialOverCaptureQualityScore")] [Field ("AVMetadataIdentifierQuickTimeMetadataSpatialOverCaptureQualityScore")]
NSString SpatialOverCaptureQualityScore { get; } NSString SpatialOverCaptureQualityScore { get; }
[Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] [Watch (6, 0), TV (13, 0), NoMac, iOS (13, 0)]
[Field ("AVMetadataIdentifierQuickTimeMetadataLivePhotoVitalityScoringVersion")] [Field ("AVMetadataIdentifierQuickTimeMetadataLivePhotoVitalityScoringVersion")]
NSString LivePhotoVitalityScoringVersion { get; } NSString LivePhotoVitalityScoringVersion { get; }
[Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] [Watch (6, 0), TV (13, 0), NoMac, iOS (13, 0)]
[Field ("AVMetadataIdentifierQuickTimeMetadataLivePhotoVitalityScore")] [Field ("AVMetadataIdentifierQuickTimeMetadataLivePhotoVitalityScore")]
NSString LivePhotoVitalityScore { get; } NSString LivePhotoVitalityScore { get; }
[NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] [NoWatch, NoTV, NoMac, iOS (13, 0)]
[Field ("AVMetadataIdentifierQuickTimeMetadataDetectedSalientObject")] [Field ("AVMetadataIdentifierQuickTimeMetadataDetectedSalientObject")]
NSString DetectedSalientObject { get; } NSString DetectedSalientObject { get; }
[NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] [NoWatch, NoTV, NoMac, iOS (13, 0)]
[Field ("AVMetadataIdentifierQuickTimeMetadataDetectedHumanBody")] [Field ("AVMetadataIdentifierQuickTimeMetadataDetectedHumanBody")]
NSString DetectedHumanBody { get; } NSString DetectedHumanBody { get; }
[NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] [NoWatch, NoTV, NoMac, iOS (13, 0)]
[Field ("AVMetadataIdentifierQuickTimeMetadataDetectedDogBody")] [Field ("AVMetadataIdentifierQuickTimeMetadataDetectedDogBody")]
NSString DetectedDogBody { get; } NSString DetectedDogBody { get; }
[NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] [NoWatch, NoTV, NoMac, iOS (13, 0)]
[Field ("AVMetadataIdentifierQuickTimeMetadataDetectedCatBody")] [Field ("AVMetadataIdentifierQuickTimeMetadataDetectedCatBody")]
NSString DetectedCatBody { get; } NSString DetectedCatBody { get; }
[Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] [Watch (6, 0), TV (13, 0), NoMac, iOS (13, 0)]
[Field ("AVMetadataIdentifierQuickTimeMetadataAutoLivePhoto")] [Field ("AVMetadataIdentifierQuickTimeMetadataAutoLivePhoto")]
NSString AutoLivePhoto { get; } NSString AutoLivePhoto { get; }
} }
@ -6672,19 +6672,19 @@ namespace AVFoundation {
[Field ("AVMetadataObjectTypeDataMatrixCode")] [Field ("AVMetadataObjectTypeDataMatrixCode")]
NSString TypeDataMatrixCode { get; } NSString TypeDataMatrixCode { get; }
[NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] [NoWatch, NoTV, NoMac, iOS (13, 0)]
[Field ("AVMetadataObjectTypeCatBody")] [Field ("AVMetadataObjectTypeCatBody")]
NSString TypeCatBody { get; } NSString TypeCatBody { get; }
[NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] [NoWatch, NoTV, NoMac, iOS (13, 0)]
[Field ("AVMetadataObjectTypeDogBody")] [Field ("AVMetadataObjectTypeDogBody")]
NSString TypeDogBody { get; } NSString TypeDogBody { get; }
[NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] [NoWatch, NoTV, NoMac, iOS (13, 0)]
[Field ("AVMetadataObjectTypeHumanBody")] [Field ("AVMetadataObjectTypeHumanBody")]
NSString TypeHumanBody { get; } NSString TypeHumanBody { get; }
[NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] [NoWatch, NoTV, NoMac, iOS (13, 0)]
[Field ("AVMetadataObjectTypeSalientObject")] [Field ("AVMetadataObjectTypeSalientObject")]
NSString TypeSalientObject { get; } NSString TypeSalientObject { get; }
} }

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

@ -670,9 +670,9 @@ namespace MapKit {
[iOS (7,0), Export ("rendererForOverlay:")] [iOS (7,0), Export ("rendererForOverlay:")]
MKOverlayRenderer RendererForOverlay (IMKOverlay overlay); MKOverlayRenderer RendererForOverlay (IMKOverlay overlay);
[Deprecated (PlatformName.MacOSX, 10, 15, message: "Use `PointOfInterestFilter` instead.")] [Deprecated (PlatformName.MacOSX, 10, 15, message: "Use 'PointOfInterestFilter' instead.")]
[Deprecated (PlatformName.iOS, 13, 0, message: "Use `PointOfInterestFilter` instead.")] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'PointOfInterestFilter' instead.")]
[Deprecated (PlatformName.TvOS, 13, 0, message: "Use `PointOfInterestFilter` instead.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'PointOfInterestFilter' instead.")]
[iOS (7,0)] [iOS (7,0)]
[Export ("showsPointsOfInterest")] [Export ("showsPointsOfInterest")]
bool ShowsPointsOfInterest { get; set; } bool ShowsPointsOfInterest { get; set; }
@ -1626,9 +1626,9 @@ namespace MapKit {
nfloat Scale { get; set; } nfloat Scale { get; set; }
#endif #endif
[Deprecated (PlatformName.MacOSX, 10, 15, message: "Use `PointOfInterestFilter` instead.")] [Deprecated (PlatformName.MacOSX, 10, 15, message: "Use 'PointOfInterestFilter' instead.")]
[Deprecated (PlatformName.iOS, 13, 0, message: "Use `PointOfInterestFilter` instead.")] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'PointOfInterestFilter' instead.")]
[Deprecated (PlatformName.TvOS, 13, 0, message: "Use `PointOfInterestFilter` instead.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'PointOfInterestFilter' instead.")]
[Export ("showsPointsOfInterest")] [Export ("showsPointsOfInterest")]
bool ShowsPointsOfInterest { get; set; } bool ShowsPointsOfInterest { get; set; }

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

@ -120,6 +120,7 @@ namespace Introspection
"Avb", // acronym: Audio Video Bridging "Avb", // acronym: Audio Video Bridging
"Aliasable", "Aliasable",
"Arcball", "Arcball",
"Atm",
"Avg", "Avg",
"Backface", "Backface",
"Bancaire", // french "Bancaire", // french
@ -429,6 +430,7 @@ namespace Introspection
"Pnorm", "Pnorm",
"Pointillize", "Pointillize",
"Polyline", "Polyline",
"Polylines",
"Popularimeter", "Popularimeter",
"Preds", // short for Predicates "Preds", // short for Predicates
"Prerolls", "Prerolls",

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

@ -29,3 +29,17 @@
!missing-release-attribute-on-return-value! CoreMedia.CMSampleBuffer AVFoundation.AVAssetReaderOutput::CopyNextSampleBuffer()'s selector's ('copyNextSampleBuffer') Objective-C method family ('copy') indicates that the native method returns a retained object, and as such a '[return: Release]' attribute is required. !missing-release-attribute-on-return-value! CoreMedia.CMSampleBuffer AVFoundation.AVAssetReaderOutput::CopyNextSampleBuffer()'s selector's ('copyNextSampleBuffer') Objective-C method family ('copy') indicates that the native method returns a retained object, and as such a '[return: Release]' attribute is required.
!missing-release-attribute-on-return-value! CoreVideo.CVPixelBuffer AVFoundation.AVVideoCompositionRenderContext::CreatePixelBuffer()'s selector's ('newPixelBuffer') Objective-C method family ('new') indicates that the native method returns a retained object, and as such a '[return: Release]' attribute is required. !missing-release-attribute-on-return-value! CoreVideo.CVPixelBuffer AVFoundation.AVVideoCompositionRenderContext::CreatePixelBuffer()'s selector's ('newPixelBuffer') Objective-C method family ('new') indicates that the native method returns a retained object, and as such a '[return: Release]' attribute is required.
# AVFoundation differs between IOS and macOS. Fields not availble in macOS 10.15.
!missing-field! AVMetadataIdentifierQuickTimeMetadataAutoLivePhoto not bound
!missing-field! AVMetadataIdentifierQuickTimeMetadataDetectedCatBody not bound
!missing-field! AVMetadataIdentifierQuickTimeMetadataDetectedDogBody not bound
!missing-field! AVMetadataIdentifierQuickTimeMetadataDetectedHumanBody not bound
!missing-field! AVMetadataIdentifierQuickTimeMetadataDetectedSalientObject not bound
!missing-field! AVMetadataIdentifierQuickTimeMetadataLivePhotoVitalityScore not bound
!missing-field! AVMetadataIdentifierQuickTimeMetadataLivePhotoVitalityScoringVersion not bound
!missing-field! AVMetadataIdentifierQuickTimeMetadataSpatialOverCaptureQualityScore not bound
!missing-field! AVMetadataIdentifierQuickTimeMetadataSpatialOverCaptureQualityScoringVersion not bound
!missing-field! AVMetadataObjectTypeCatBody not bound
!missing-field! AVMetadataObjectTypeDogBody not bound
!missing-field! AVMetadataObjectTypeHumanBody not bound
!missing-field! AVMetadataObjectTypeSalientObject not bound