Repository navigation
Conversation
This restores the files that unicode-org#6300 removed: the currency generator, its test, the README and the TSV files from unicode-org#5808, with the 258 rows that unicode-org#6297 regenerated for ICU4J 79.1. This reverts commit 43ba405.
|
@srl295 Thanks. I checked the fields: Merged is empty, fix version is 50, and I added a note on the ticket. I can't change the status or the assignee from my account (Jira assigned it to Mark). Could you accept it and assign it to me? |
First, because I am in Europe and I wanted to focus on the upcoming feature-based conformance data generator while this is already submitted :) Second: it is thanksgiving holiday now, so happy thanksgiving from Europe and lets submit it next week :) |
srl295
left a comment
There was a problem hiding this comment.
Happy thanksgiving back. I think we should wait on this one and discuss in cldr-tc, like to understand better:
- we had some process issues, with PRs merged late and on the wrong release
- what was the reason that this broke when merged, even after the generator ran? If there were just data issues, presumably the run of #6297 should have picked them up
- my concern is that we are making the CLDR build more fragile.
| params = TestParams.create(new String[0], new java.io.PrintWriter(System.out)); | ||
| } | ||
|
|
||
| @org.junit.jupiter.api.Test |
There was a problem hiding this comment.
this test should not be both TestFmwkPlus and JUnit — please pick one.
ideally remove extends TestFmwkPlus and make it just a JUnit test.
There was a problem hiding this comment.
same, remove extends TestFmwkPlus and just use JUnit
There was a problem hiding this comment.
Done. The test command in GenerateTestData.md now runs the class directly.
The class extended TestFmwkPlus and also carried JUnit annotations. Drop the TestFmwkPlus parent so it is only a JUnit test: errln() calls become fail(), and an IOException is thrown instead of logged. The test command in GenerateTestData.md no longer goes through TestShim.
Same change as for TestCurrencyFormat: drop the TestFmwkPlus parent and use JUnit assertions.
| @@ -0,0 +1,157 @@ | |||
| package org.unicode.cldr.unittest; | |||
There was a problem hiding this comment.
It could actually be in the org.unicode.cldr.tool package. then it can use package-private calls if need be.
The unittest package dates from before the test and app code were in separate dirs (src/main vs src/test).
CLDR-19925
Re-lands the currency test data generator, its test and the TSV files that #6300 reverted, now on the v50 ticket.
mainbefore the revert.main, regenerating the data changes nothing, andTestCurrencyFormatandTestDecimalFormatpass.ALLOW_MANY_COMMITS=true