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

Justin Lu jlu at openjdk.org
Tue Sep 23 18:25:53 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.) Tests pass as before. The same number of tests completed in the test results section 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

Justin Lu has updated the pull request incrementally with one additional commit since the last revision:

  Swap other args in assertions in LocaleMatchingTest

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27441/files
  - new: https://git.openjdk.org/jdk/pull/27441/files/b7eb4398..aef34477

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27441&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27441&range=00-01

  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 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