RFR: 7903714: Feature Tests - Adding five JavaTest GUI legacy automated test scripts [v2]

Dmitry Bessonov dbessono at openjdk.org
Thu Jun 13 11:33:22 UTC 2024


On Wed, 17 Apr 2024 11:45:25 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. CreateWorkdir08.java
>> 2. CreateWorkdir09.java
>> 3. CreateWorkdir11.java
>> 4. CreateWorkdir13.java
>> 5. CreateWorkdir15.java
>
> gollayadav has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update CreateWorkdir08.java

gui-tests/src/gui/src/jthtest/CreateWorkdir/CreateWorkdir08.java line 69:

> 67:           if (!((templatePath.getText() + File.separator).equals(DEFAULT_PATH)))
> 68:                throw new JemmyException("Default template path doesn't match default path: " + templatePath.getText()
> 69:                          + File.separator + " != " + DEFAULT_PATH);

Please wrap both throwing in `{...}`

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

PR Review Comment: https://git.openjdk.org/jtharness/pull/69#discussion_r1638051934


More information about the jtharness-dev mailing list