RFR: 8355393: Create a Test case to have special cases coverage for currency.getInstance()
Abhishek N
duke at openjdk.org
Fri May 9 13:12:30 UTC 2025
Create a Test case to have special cases coverage for currency.getInstance().
The test Validates that all currency codes and country-currency mappings in the input file are consistent with the Java Currency API.
test results:
jdk-24.0.2/bin/java -jar jtreg/lib/jtreg.jar -testjdk:jdk-24.0.2 -dir:jdk/test/jdk/ java/util/Currency/currencyEnhancedCoverage/ValidateCurrencyCoverage.java
Directory "JTwork" not found: creating
Directory "JTreport" not found: creating
Test results: passed: 1
Report written to JTreport\html\report.html
Results written to JTwork
-------------
Commit messages:
- remove trailing space
- remove carriage return from txt and properties file
- Update ValidateCurrencyCoverage.java test code and add more date cut off to properties and txt file
- Update ValidateCurrncyCoverage.java to cover all currencies and print result in end
- Replaced carriage return with newline and removed duplicate currencyParam.properties file
- 8355393: Create a Test case to have special cases coverage for currency.getInstance()
Changes: https://git.openjdk.org/jdk/pull/25057/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25057&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8355393
Stats: 262 lines in 3 files changed: 262 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/25057.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25057/head:pull/25057
PR: https://git.openjdk.org/jdk/pull/25057
More information about the core-libs-dev
mailing list