-
Notifications
You must be signed in to change notification settings - Fork 387
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
CLDR-16022 Add test to detect new aliases for BCP47 keys or non-tz values #4358
CLDR-16022 Add test to detect new aliases for BCP47 keys or non-tz values #4358
Conversation
// Currently <convertUnits> - and consequently allowedBcp47Units - has a temperature unit | ||
// rankine which is not supported for mu, and hence not in typesFound. | ||
// Filed CLDR-18300 about this but meanwhile typesFound just needs to be a subset of | ||
// allowedBcp47Units. |
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.
see CLDR-18300 "Support for measure unit Rankine?"
@@ -185,6 +185,7 @@ public TestAll() { | |||
"org.unicode.cldr.unittest.TestAnnotations", | |||
"org.unicode.cldr.unittest.TestAttributeValues", | |||
"org.unicode.cldr.unittest.TestBasic", | |||
"org.unicode.cldr.unittest.TestBCP47", |
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.
see CLDR-18301 "TestAll() in unittest/TestAll.java does not include all of the tests in unittest; should it?"
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.
Also https://unicode-org.atlassian.net/browse/CLDR-17708 — mostly the same?
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.
Yes, thanks, I resolved CLDR-18301 as a duplicate of CLDR-17708 and copied the linked issues over.
CLDR-16022
Add a test that detects any new aliases for BCP47 keys, or for BCP47 types other than tz types (for tz types the alias contains the tzdata name so any new zones will require an alias); these should not be added. This test depends on having the cldr-archive available (since it compares BCP47 aliases in the current version to those in the previous version), and is skipped if the flag is set indicating that the archive is not available.
This also adds the unit test TestBCP47 to TestAll(); there are probably more unit tests that should be added to TestAll(), filed CLDR-18301 about that.
ALLOW_MANY_COMMITS=true