Skip to content

[Test Only] Fix Idn tests #115030

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
Apr 26, 2025
Merged

Conversation

tarekgh
Copy link
Member

@tarekgh tarekgh commented Apr 24, 2025

[Test Only] Fix IDN tests

[Test Only] Port the Idna test fixes to support Unicode 15
@Copilot Copilot AI review requested due to automatic review settings April 24, 2025 23:37
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-globalization
See info in area-owners.md if you want to be subscribed.

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 PR updates the IDN tests to support Unicode version 16.0 by adding new test data files and updating ICU version checks.

  • Adds Unicode_16_0_IdnaTest test class and corresponding data files.
  • Updates the ICU version logic in the test Factory to select the appropriate test data file.
  • Expands test result constructors to handle additional source information.

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/libraries/System.Globalization.Extensions/tests/IdnMapping/Data/Unicode_16_0_IdnaTest.cs Adds new test class for Unicode 16.0 data
src/libraries/System.Globalization.Extensions/tests/IdnMapping/Data/Unicode_16_0/ReadMe.txt Provides updated documentation and metadata for Unicode 16.0 test data
src/libraries/System.Globalization.Extensions/tests/IdnMapping/Data/Factory.cs Modifies ICU version conditions, which may affect the selection of test classes
src/libraries/System.Globalization.Extensions/tests/IdnMapping/Data/ConformanceIdnaUnicodeTestResult.cs Introduces an overloaded constructor for additional test result details
src/libraries/System.Globalization.Extensions/tests/IdnMapping/Data/ConformanceIdnaTestResult.cs Adds a new constructor parameter and enhances dot and hyphen processing
Files not reviewed (1)
  • src/libraries/System.Globalization.Extensions/tests/System.Globalization.Extensions.Tests.csproj: Language not supported

@tarekgh tarekgh added the Servicing-consider Issue for next servicing release review label Apr 24, 2025
@tarekgh tarekgh added this to the 8.0.x milestone Apr 24, 2025
@tarekgh tarekgh changed the title Fix Idn tests [Test Only] Fix Idn tests Apr 24, 2025
@carlossanlop carlossanlop added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Apr 25, 2025
Copy link
Member

@carlossanlop carlossanlop left a comment

Choose a reason for hiding this comment

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

Tell mode.

@tarekgh tarekgh merged commit 6233bec into dotnet:release/8.0-staging Apr 26, 2025
111 of 113 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants