RFR: 7903118: Sanity Tests - Adding four JavaTest GUI newly automated sanity test scripts

Dmitry Bessonov dbessono at openjdk.java.net
Fri Mar 11 01:29:52 UTC 2022


On Fri, 11 Mar 2022 01:24:26 GMT, Dmitry Bessonov <dbessono at openjdk.org> wrote:

>> Adding below automated JavaTest GUI Sanity Test Scripts to the Jemmy regression suite and tested locally on three platforms(Linux, Windows, Mac OS) and working fine.
>> 
>> 1.Test_Config_Edit3.java
>> 2.Test_Config_Load1.java
>> 3.Test_Config_New1.java
>> 4. Test_Config_Save2.java
>
> gui-tests/src/gui/src/jthtest/Sanity_Tests/Test_Config_Edit3.java line 67:
> 
>> 65:      *                                   runtime.
>> 66:      */
>> 67:     @SuppressWarnings("deprecation")
> 
> Is this done to suppress the warning about deprecated "createWorkDirInTemp" ? "createWorkDirInTemp" is used widely and it seems only in this pack of tests its usage is accompanied with '@SuppressWarnings("deprecation")'. Why is it deprecated? Should it be kept deprecated?

Or possibly some other - non-deprecated method should be used instead of using a deprecating one and adding "@SuppressWarnings("deprecation")" ?

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

PR: https://git.openjdk.java.net/jtharness/pull/24


More information about the jtharness-dev mailing list