Skip to content

Commit

Permalink
[AutomaticAssessmentConfiguration] Updates for Xcode13 beta1 (#12070)
Browse files Browse the repository at this point in the history
* initial changes for AutomaticAssessmentConfiguration

* forgot a selector

Co-authored-by: tj_devel709 <antlambe@microsoft.com>
  • Loading branch information
tj-devel709 and tj_devel709 authored Jul 8, 2021
1 parent ac5c157 commit 956828f
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 47 deletions.
60 changes: 60 additions & 0 deletions src/automaticassessmentconfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,22 @@ interface AEAssessmentConfiguration : NSCopying {
[NoMac, iOS (14, 0)]
[Export ("allowsContinuousPathKeyboard")]
bool AllowsContinuousPathKeyboard { get; set; }

[NoiOS, Mac (12,0), MacCatalyst (15,0)]
[Export ("configurationsByApplication", ArgumentSemantic.Copy)]
NSDictionary<AEAssessmentApplication, AEAssessmentParticipantConfiguration> ConfigurationsByApplication { get; }

[NoiOS, Mac (12,0), MacCatalyst (15,0)]
[Export ("mainParticipantConfiguration", ArgumentSemantic.Strong)]
AEAssessmentParticipantConfiguration MainParticipantConfiguration { get; }

[NoiOS, Mac (12,0), MacCatalyst (15,0)]
[Export ("removeApplication:")]
void Remove (AEAssessmentApplication application);

[NoiOS, Mac (12,0), MacCatalyst (15,0)]
[Export ("setConfiguration:forApplication:")]
void SetConfiguration (AEAssessmentParticipantConfiguration configuration, AEAssessmentApplication application);
}

[Mac (10,15,4), iOS (13,4)]
Expand All @@ -92,6 +108,14 @@ interface AEAssessmentSession {
[Export ("initWithConfiguration:")]
IntPtr Constructor (AEAssessmentConfiguration configuration);

[Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
[Export ("configuration", ArgumentSemantic.Copy)]
AEAssessmentConfiguration Configuration { get; }

[Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
[Export ("updateToConfiguration:")]
void Update (AEAssessmentConfiguration configuration);

[Export ("begin")]
void Begin ();

Expand All @@ -118,5 +142,41 @@ interface AEAssessmentSessionDelegate {

[Export ("assessmentSessionDidEnd:")]
void DidEnd (AEAssessmentSession session);

[NoiOS, Mac (12,0), MacCatalyst (15,0)]
[Export ("assessmentSessionDidUpdate:")]
void DidUpdate (AEAssessmentSession session);

[NoiOS, Mac (12,0), MacCatalyst (15,0)]
[Export ("assessmentSession:failedToUpdateToConfiguration:error:")]
void FailedToUpdate (AEAssessmentSession session, AEAssessmentConfiguration configuration, NSError error);
}

[Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
[BaseType (typeof (NSObject))]
interface AEAssessmentApplication : NSCopying
{
[Export ("bundleIdentifier")]
string BundleIdentifier { get; }

[NullAllowed, Export ("teamIdentifier")]
string TeamIdentifier { get; }

[Export ("requiresSignatureValidation")]
bool RequiresSignatureValidation { get; set; }

[Export ("initWithBundleIdentifier:")]
IntPtr Constructor (string bundleIdentifier);

[Export ("initWithBundleIdentifier:teamIdentifier:")]
IntPtr Constructor (string bundleIdentifier, [NullAllowed] string teamIdentifier);
}

[Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
[BaseType (typeof (NSObject))]
interface AEAssessmentParticipantConfiguration : NSCopying
{
[Export ("allowsNetworkAccess")]
bool AllowsNetworkAccess { get; set; }
}
}

This file was deleted.

11 changes: 0 additions & 11 deletions tests/xtro-sharpie/iOS-AutomaticAssessmentConfiguration.todo

This file was deleted.

18 changes: 0 additions & 18 deletions tests/xtro-sharpie/macOS-AutomaticAssessmentConfiguration.todo

This file was deleted.

8 comments on commit 956828f

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ [CI Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

Packages generated

View packages

Test results

4 tests failed, 217 tests passed.

Failed tests

  • monotouch-test/Mac Catalyst/Debug [dotnet]: Failed (Tests run: 2625 Passed: 2489 Inconclusive: 35 Failed: 1 Ignored: 135)
  • monotouch-test/tvOS - simulator/Debug: Failed
  • framework-test/Mac Catalyst/Debug: TimedOut (Execution timed out after 1200 seconds.
    No test log file was produced)
  • DotNet tests: Failed (Execution failed with exit code 1)

Pipeline on Agent XAMBOT-1025.BigSur'
[AutomaticAssessmentConfiguration] Updates for Xcode13 beta1 (#12070)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 Tests failed catastrophically on VSTS: device tests tvOS 🔥

Not enough free space in the host.

Pipeline on Agent
[AutomaticAssessmentConfiguration] Updates for Xcode13 beta1 (#12070)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Tests were not ran (VSTS: device tests iOS). ⚠️

Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.

Pipeline on Agent
[AutomaticAssessmentConfiguration] Updates for Xcode13 beta1 (#12070)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Tests were not ran (VSTS: device tests tvOS). ⚠️

Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.

Pipeline on Agent
[AutomaticAssessmentConfiguration] Updates for Xcode13 beta1 (#12070)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Tests passed on macOS Mac Catalina (10.15) ✅

Tests passed

All tests on macOS X Mac Catalina (10.15) passed.

Pipeline on Agent
[AutomaticAssessmentConfiguration] Updates for Xcode13 beta1 (#12070)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Tests passed on macOS Mac Mojave (10.14) ✅

Tests passed

All tests on macOS X Mac Mojave (10.14) passed.

Pipeline on Agent
[AutomaticAssessmentConfiguration] Updates for Xcode13 beta1 (#12070)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Tests passed on macOS Mac High Sierra (10.13) ✅

Tests passed

All tests on macOS X Mac High Sierra (10.13) passed.

Pipeline on Agent
[AutomaticAssessmentConfiguration] Updates for Xcode13 beta1 (#12070)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Tests were not ran (VSTS: device tests iOS32b). ⚠️

Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.

Pipeline on Agent
[AutomaticAssessmentConfiguration] Updates for Xcode13 beta1 (#12070)

Please sign in to comment.