<i18n dev> RFR: 8295239: Refactor java/util/Formatter/Basic script into a Java native test launcher

Brent Christian bchristi at openjdk.org
Mon Oct 17 22:43:03 UTC 2022


On Mon, 17 Oct 2022 22:20:11 GMT, Lance Andersen <lancea at openjdk.org> wrote:

>> Issue: Formatter unit tests are launched via basic.sh
>> 
>> Fix: Replace basic.sh with a Java test launcher
>> 
>> Note: Java.internal.math was included in the original configuration of Basic, but I removed it as it was not used within the Basic unit tests 
>> 
>> 
>> Original output on success
>> <img src="https://user-images.githubusercontent.com/67398801/195936541-bc90db50-8d03-47be-9c4f-95176b19a6a7.png" width="350" height="350">
>> 
>> 
>> New output on success
>> <img src="https://user-images.githubusercontent.com/67398801/195936558-f85f4d48-dae2-4c38-aa50-46ef47db3d89.png" width="350" height="450">
>
> 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

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

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


More information about the i18n-dev mailing list