RFR: 8295239: Refactor java/util/Formatter/Basic script into a Java native test launcher [v2]
Justin Lu
duke at openjdk.org
Tue Oct 18 17:05:09 UTC 2022
On Mon, 17 Oct 2022 22:39:22 GMT, Brent Christian <bchristi at openjdk.org> wrote:
>> test/jdk/java/util/Formatter/BasicTestLauncher.java line 52:
>>
>>> 50:
>>> 51: @Test
>>> 52: public void testUsPac() throws IOException{
>>
>> You could use a DataProvider
>
> I had the same thought
Thanks Lance and Brent, replaced it with a JUnit parametrized test (DataProvider equivalent)
-------------
PR: https://git.openjdk.org/jdk/pull/10715
More information about the core-libs-dev
mailing list