RFR: 8368498: Use JUnit instead of TestNG for jdk_text tests

Naoto Sato naoto at openjdk.org
Wed Sep 24 18:19:57 UTC 2025


On Wed, 24 Sep 2025 18:13:30 GMT, Justin Lu <jlu at openjdk.org> wrote:

>> test/jdk/java/text/Format/CompactNumberFormat/TestUExtensionOverride.java line 36:
>> 
>>> 34: import org.junit.jupiter.params.ParameterizedTest;
>>> 35: import org.junit.jupiter.params.provider.MethodSource;
>>> 36: 
>> 
>> Probably done with the script, but it's interesting it would put junit impots before java's.
>
> Actually, the import changes were done based off my default IntelliJ settings for optimize/clean imports. Before conversion, the TestNG tests had cases where the _org.testng.*_ imports were both above and below the _java.*_ imports.

OK, yes I knew IntelliJ does such ordering, and probably that is why there's variety of orderings.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27460#discussion_r2376680255


More information about the core-libs-dev mailing list