Integrated: 8310234: Refactor Locale tests to use JUnit

Justin Lu jlu at openjdk.org
Fri Jun 23 21:37:17 UTC 2023


On Thu, 22 Jun 2023 01:08:30 GMT, Justin Lu <jlu at openjdk.org> wrote:

> Please review this PR as apart of [JDK-8307843](https://bugs.openjdk.org/browse/JDK-8307843) which refactors some tests in Locale to use JUnit. Other cleanup and small changes are included as well. More refactoring in Locale tests will be done in separate PRs.
> 
> If the test had a bugNNNNN.java name, it was also renamed to something more [descriptive](https://openjdk.org/jtreg/faq.html#how-should-i-name-a-test).
> 
> Below is a list of all the changes,
> 
> - Refactor Bug4316602.java as LocaleConstructors.java
> - Refactor Bug4210525.java as CaseCheckVariant.java
> - Refactor bug6277243.java as RootLocale.java
> - Refactor bug6312358.java as GetInstanceCheck.java
> - Refactor Bug8154797.java as CompareProviderFormats.java
> - Refactor Bug8004240.java as GetAdapterPreference.java
> - Refactor bug4122700.java into AvailableLocalesTest.java (and combined with StreamAvailableLocales.java)

This pull request has now been integrated.

Changeset: dad7bd9e
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/dad7bd9efc7ca2c245f7e35267479670f93a53a8
Stats:     1112 lines in 15 files changed: 605 ins; 507 del; 0 mod

8310234: Refactor Locale tests to use JUnit

Reviewed-by: naoto

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

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


More information about the core-libs-dev mailing list