RFR: 8368335: Refactor the rest of Locale TestNG based tests to JUnit

Justin Lu jlu at openjdk.org
Mon Sep 22 23:03:32 UTC 2025


Please review this PR which finishes the conversions of _TestNG_ to _JUnit_ within the Locale tests. (Primarily under bcp47u with a few other stragglers.) Tiers 1-3 pass and the same number of tests completed in the test results remain the same.

test/jdk/java/util/Locale/LocaleMatchingTest.java
test/jdk/java/util/Locale/RequiredAvailableLocalesTest.java
test/jdk/java/util/Locale/TestOf.java
test/jdk/java/util/Locale/bcp47u/CalendarTests.java
test/jdk/java/util/Locale/bcp47u/CurrencyFormatTests.java
test/jdk/java/util/Locale/bcp47u/CurrencyTests.java
test/jdk/java/util/Locale/bcp47u/DisplayNameTests.java
test/jdk/java/util/Locale/bcp47u/FormatTests.java
test/jdk/java/util/Locale/bcp47u/SymbolsTests.java
test/jdk/java/util/Locale/bcp47u/SystemPropertyTests.java

-------------

Commit messages:
 - Straggler expected/actual param swap in FormatTests.java
 - init

Changes: https://git.openjdk.org/jdk/pull/27441/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27441&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8368335
  Stats: 308 lines in 10 files changed: 65 ins; 49 del; 194 mod
  Patch: https://git.openjdk.org/jdk/pull/27441.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27441/head:pull/27441

PR: https://git.openjdk.org/jdk/pull/27441


More information about the core-libs-dev mailing list