RFR: 7903717: Feature Tests - Adding five JavaTest GUI legacy automated test scripts

Dmitry Bessonov dbessono at openjdk.org
Mon May 20 12:33:10 UTC 2024


On Mon, 22 Apr 2024 09:27:56 GMT, gollayadav <duke at openjdk.org> wrote:

> Adding below automated legacy JavaTest GUI feature Test Scripts to the Jemmy regression suite and tested locally on three platforms(Linux, Windows, Mac OS) and working fine. Also verified with JDK8 on macos.
> 
> 1. CreateWorkdir16.java
> 2. CreateWorkdir17.java
> 3. Config_Edit2.java
> 4. Config_Load6_1.java
> 5. Config_Load8.java

gui-tests/src/gui/src/jthtest/Config_Edit/Config_Edit2.java line 39:

> 37: 
> 38: public class Config_Edit2 extends Test {
> 39:      private final static Hashtable standartTable;

Suggesting to use HashMap instead and use generics.

gui-tests/src/gui/src/jthtest/Config_Edit/Config_Edit2.java line 65:

> 63:      }
> 64: 
> 65:      public void testImpl() throws Exception {

Does the commented out code work and the test pass?

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

PR Review Comment: https://git.openjdk.org/jtharness/pull/70#discussion_r1606719045
PR Review Comment: https://git.openjdk.org/jtharness/pull/70#discussion_r1606716553


More information about the jtharness-dev mailing list