Integrated: 8375231: Refactor util/ServiceLoader tests to use JUnit
Justin Lu
jlu at openjdk.org
Thu Jan 15 17:45:33 UTC 2026
On Tue, 13 Jan 2026 22:42:41 GMT, Justin Lu <jlu at openjdk.org> wrote:
> This PR converts the TestNG tests in _util/ServiceLoader_ (7), _util/StringJoiner_ (3), and _util/Vector_ (1) to JUnit.
> The first commit is from the automated tool, the rest are manual changes done after.
>
> Before
> ServiceLoader: Framework-based tests: 62 = 62 TestNG + 0 JUnit
> StringJoiner: Framework-based tests: 32 = 32 TestNG + 0 JUnit
> Vector: Framework-based tests: 9 = 9 TestNG + 0 JUnit
>
> After
> ServiceLoader: Framework-based tests: 62 = 0 TestNG + 62 JUnit
> StringJoiner: Framework-based tests: 32 = 0 TestNG + 32 JUnit
> Vector: Framework-based tests: 9 = 0 TestNG + 9 JUnit
This pull request has now been integrated.
Changeset: 34705a77
Author: Justin Lu <jlu at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/34705a77f9a90da5ab2a440c11d79aef7bb3ba54
Stats: 357 lines in 11 files changed: 81 ins; 53 del; 223 mod
8375231: Refactor util/ServiceLoader tests to use JUnit
8375232: Refactor util/StringJoiner tests to use JUnit
8375233: Refactor util/Vector tests to use JUnit
Reviewed-by: naoto, alanb
-------------
PR: https://git.openjdk.org/jdk/pull/29210
More information about the core-libs-dev
mailing list