-
Notifications
You must be signed in to change notification settings - Fork 5k
[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
[Test Only] Fix Idn tests #115030
Conversation
[Test Only] Port the Idna test fixes to support Unicode 15
Tagging subscribers to this area: @dotnet/area-system-globalization |
There was a problem hiding this 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
src/libraries/System.Globalization.Extensions/tests/IdnMapping/Data/Factory.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tell mode.
[Test Only] Fix IDN tests