Skip to content
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

run writingsystem tests against dotnet 8 to show a bug in the integration between icu.net and SIL.WritingSystems #1330

Closed

Conversation

hahn-kev
Copy link
Contributor

@hahn-kev hahn-kev commented Jul 31, 2024

See explanation of the issue sillsdev/icu-dotnet#202,

this PR just adds a test to use IcuRulesCollator.GetSortKey which shows the current issue. Fixing this depends on the above PR being merged.


This change is Reviewable

… add a test to exhibit an issue with icu.net and SIL.WritingSystems when using net8.0
…hecking for "Unknown Language" in the name. Fixes a number of tests that were failing due to incorrectly detecting unknown cultures.
…ver specified and expect NLS (Windows only globalization) to be used instead of ICU.
# Conflicts:
#	SIL.Core/Reflection/ReflectionHelper.cs
@hahn-kev
Copy link
Contributor Author

It looks like a lot of our WritingSystem tests (especially related to sorting) are not expecting dotnet 8 to use ICU natively. To resolve this I went ahead and used a configuration flag so that instead of dotnet using ICU it will use NLS which is what .Net Framework uses, this meets the expectations of our tests. That said many of these tests may be over specified, so we should consider if we want to change them or not.

…-writingsystems-dotnet-8

# Conflicts:
#	SIL.WritingSystems.Tests/SIL.WritingSystems.Tests.csproj
@hahn-kev
Copy link
Contributor Author

hahn-kev commented Aug 2, 2024

closed in favor of #1336 which is not based on a fork meaning there's no issue publishing the test results

@hahn-kev hahn-kev closed this Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant