RFR: 7903103: Sanity Tests - Adding JavaTest GUI new automated test scripts. [v6]
Dmitry Bessonov
dbessono at openjdk.java.net
Mon Feb 28 15:33:02 UTC 2022
On Mon, 28 Feb 2022 13:55:39 GMT, gollayadav <duke at openjdk.java.net> 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_Create_Work_Dir1.java
>> 2. Test_Open_Test_Suite1.java
>> 3. Test_Open_Work_Dir1.java
>> 4. Test_Open_Work_Dir2.java
>> 5. Test_Config_New2.java
>
> gollayadav has updated the pull request incrementally with one additional commit since the last revision:
>
> 7903103: Sanity Tests - Updated the format of the test scripts
Marked as reviewed by dbessono (Committer).
gui-tests/src/gui/src/jthtest/Sanity_Tests/Test_Config_Edit3.java line 79:
> 77: JTextFieldOperator test = new JTextFieldOperator(config, n);
> 78: test.clearText();
> 79: Path p = Paths.get(System.getenv("JAVA_HOME"));
A more normative way would be to use `System.getProperty("java.home")` (please see the API specification). Should better be updated here and in all the other places.
-------------
PR: https://git.openjdk.java.net/jtharness/pull/23
More information about the jtharness-dev
mailing list