Skip to content

Fix globalization test on mobile platforms #115248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 2, 2025

Conversation

tarekgh
Copy link
Member

@tarekgh tarekgh commented May 2, 2025

Fixes #115238

@Copilot Copilot AI review requested due to automatic review settings May 2, 2025 17:30
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request fixes a globalization test issue on mobile platforms by updating the test data used in CultureInfo constructor tests.

  • Added a new test data method (Ctor_Undetermined_TestData) that provides platform-specific expected results.
  • Refactored the test method to use MemberData, allowing conditional test data based on the detected platform.

@tarekgh
Copy link
Member Author

tarekgh commented May 2, 2025

/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-maccatalyst

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

…CultureInfo/CultureInfoCtor.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@tarekgh
Copy link
Member Author

tarekgh commented May 2, 2025

/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-maccatalyst

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@tarekgh tarekgh requested a review from matouskozak May 2, 2025 17:43
@tarekgh tarekgh added this to the 10.0.0 milestone May 2, 2025
@tarekgh
Copy link
Member Author

tarekgh commented May 2, 2025

/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-maccatalyst

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Member

@matouskozak matouskozak left a comment

Choose a reason for hiding this comment

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

LGTM! thank you for the quick fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Apple mobile] System.Globalization.IOS.Tests failures with undetermined language tag extensions
2 participants