Skip to content

Commit

Permalink
Revert "[UIKit] Add Preferred Content Size Wrapper (#15800)"
Browse files Browse the repository at this point in the history
This reverts commit a2b2318.
  • Loading branch information
haritha-mohan authored Aug 31, 2022
1 parent a2b2318 commit a228a54
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
4 changes: 0 additions & 4 deletions src/uikit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2511,10 +2511,6 @@ interface UIApplication {
[Export ("preferredContentSizeCategory")]
NSString PreferredContentSizeCategory { get; }

[iOS (7,0)]
[Wrap ("UIContentSizeCategoryExtensions.GetValue (SharedApplication.PreferredContentSizeCategory)")]
UIContentSizeCategory GetPreferredContentSizeCategory ();

[iOS (13,0), TV (13,0)]
[Export ("connectedScenes")]
NSSet<UIScene> ConnectedScenes { get; }
Expand Down
11 changes: 0 additions & 11 deletions tests/monotouch-test/UIKit/UIContentSizeCategoryTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,6 @@ public void Compare ()
Assert.Throws<ArgumentException> (() => UIContentSizeCategoryExtensions.Compare (small, (UIContentSizeCategory)271828));
Assert.Throws<ArgumentException> (() => ((UIContentSizeCategory)1234).IsAccessibilityCategory ());
}

[Test]
public void GetPreferredContentSizeCategoryTest ()
{
var sizeNSString = UIApplication.SharedApplication.PreferredContentSizeCategory;
var sizeEnum = UIContentSizeCategoryExtensions.GetValue (sizeNSString);
var size = UIApplication.SharedApplication.GetPreferredContentSizeCategory ();
Assert.AreEqual (sizeEnum, size, "String");
var sizeReverse = size.GetConstant ();
Assert.AreEqual (sizeNSString, sizeReverse, "NSString");
}
}
}

Expand Down

5 comments on commit a228a54

@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.

🔥 Failed to compare API and create generator diff 🔥

Error: 'make' failed for the hash a2b2318.

Pipeline on Agent
Hash: a228a54ed37fa0446411264d0c8c09e24ab88ece [CI build]

@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] Artifacts 📚

Artifacts were not provided.

Pipeline on Agent XAMMINI-054.Monterey
Hash: a228a54ed37fa0446411264d0c8c09e24ab88ece [CI build]

@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 on macOS Mac Catalina (10.15) passed 💻

All tests on macOS Mac Catalina (10.15) passed.

Pipeline on Agent
Hash: a228a54ed37fa0446411264d0c8c09e24ab88ece [CI build]

@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 on macOS M1 - Mac Big Sur (11.5) failed ❌

Failed tests are:

  • introspection
  • linksdk

Pipeline on Agent
Hash: a228a54ed37fa0446411264d0c8c09e24ab88ece [CI build]

@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] Test results 🔥

Test results

❌ Tests failed on VSTS: simulator tests

0 tests crashed, 1 tests failed, 222 tests passed.

Failures

❌ mmp tests

1 tests failed, 1 tests passed.
  • mmptest/macOS/Debug: Failed (Execution failed with exit code 1)

Html Report (VSDrops) Download

Successes

✅ bcl: All 69 tests passed. Html Report (VSDrops) Download
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests: All 1 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 7 tests passed. Html Report (VSDrops) Download
✅ framework: All 8 tests passed. Html Report (VSDrops) Download
✅ generator: All 2 tests passed. Html Report (VSDrops) Download
✅ interdependent_binding_projects: All 7 tests passed. Html Report (VSDrops) Download
✅ install_source: All 1 tests passed. Html Report (VSDrops) Download
✅ introspection: All 8 tests passed. Html Report (VSDrops) Download
✅ linker: All 65 tests passed. Html Report (VSDrops) Download
✅ mac_binding_project: All 1 tests passed. Html Report (VSDrops) Download
✅ mononative: All 12 tests passed. Html Report (VSDrops) Download
✅ monotouch: All 23 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ mtouch: All 1 tests passed. Html Report (VSDrops) Download
✅ xammac: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 8 tests passed. Html Report (VSDrops) Download
✅ xtro: All 2 tests passed. Html Report (VSDrops) Download

Pipeline on Agent
Hash: [CI build]

Please sign in to comment.