RFR: 8340437: Open source few more AWT Frame related tests

Phil Race prr at openjdk.org
Sun Sep 29 22:13:34 UTC 2024


On Thu, 26 Sep 2024 08:05:27 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

> AWT Frame related tests are converted from applet to manual/automated and moved to open.

test/jdk/java/awt/Frame/IMStatusBar.java line 44:

> 42:         String INSTRUCTIONS = """
> 43:                 If the window appears the right size, but then resizes so that the
> 44:                 status field overlaps the bottom label, press Fail; otherwise press Pass.

does this ALWAYS bring up an IM window ? On all platforms.

test/jdk/java/awt/Frame/MultiScreenTest.java line 78:

> 76:             throw new SkippedException("You have only one monitor in your system - test passed");
> 77:         }
> 78:         MultiScreenTest obj = new MultiScreenTest();

Although this test will bail if there aren't two monitors, I'd like to see us remember to add @key multimon to such tests.
Then if someone wants to run multimon testsand ONLY those tests they can specify this key 
I'm sure we missed a couple of opportunities to do it already but let's not miss this one.

See 
https://github.com/openjdk/jdk/blob/master/test/jdk/TEST.ROOT

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21199#discussion_r1780190393
PR Review Comment: https://git.openjdk.org/jdk/pull/21199#discussion_r1780189828


More information about the client-libs-dev mailing list