From 1ae28bf0345b3a8d0f09c1ea1746b401b7620d25 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Thu, 12 Dec 2019 07:28:23 +0100 Subject: [PATCH] [introspection] Update according to changes that seem to have occurred in macOS 10.15.2. (#7567) --- tests/introspection/Mac/MacApiCtorInitTest.cs | 3 +++ tests/introspection/Mac/MacApiProtocolTest.cs | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/tests/introspection/Mac/MacApiCtorInitTest.cs b/tests/introspection/Mac/MacApiCtorInitTest.cs index 0984a6801f..55b781d633 100644 --- a/tests/introspection/Mac/MacApiCtorInitTest.cs +++ b/tests/introspection/Mac/MacApiCtorInitTest.cs @@ -206,6 +206,9 @@ namespace Introspection { due to a privacy violation (even if the required entry is present in the Info.plist). */ return true; + case "AVFoundation.AVAudioRecorder": // Stopped working in macOS 10.15.2 + return TestRuntime.CheckXcodeVersion (11, 2); + } switch (type.Namespace) { diff --git a/tests/introspection/Mac/MacApiProtocolTest.cs b/tests/introspection/Mac/MacApiProtocolTest.cs index 1341f9fb61..3d7acbea4b 100644 --- a/tests/introspection/Mac/MacApiProtocolTest.cs +++ b/tests/introspection/Mac/MacApiProtocolTest.cs @@ -86,6 +86,10 @@ namespace Introspection { case "NSFileProviderDomain": // Conformance not in headers case "FPUIActionExtensionContext": // Conformance not in headers return true; + // macOS 10.15.2 + case "NSPrintInfo": // Conformance not in headers + case "NSPrinter": // Conformance not in headers + return true; #if !UNIFIED // existing classic/old binary is not updated case "NSAppearance":