RFR: 8340458: Open source additional Component tests (part 2)
Prasanta Sadhukhan
psadhukhan at openjdk.org
Mon Sep 30 03:39:36 UTC 2024
On Fri, 27 Sep 2024 20:33:07 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
> Clean up and open source four more tests.
test/jdk/java/awt/Component/BackgroundColorTest/InitialBackgroundSettingTest.java line 52:
> 50: Scrollbar bar = new Scrollbar(Scrollbar.HORIZONTAL);
> 51: Button button = new Button("I am the button");
> 52:
I believe all this initialization needs to be put in `setupGUI` under EDT..more so as it is an automated test..
test/jdk/java/awt/Component/ListDoubleIndentTest/ListDoubleIndentTest.java line 66:
> 64:
> 65: try {
> 66: Frame f = new Frame("ListDoubleIndentTest");
dispose is missing
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21235#discussion_r1780356570
PR Review Comment: https://git.openjdk.org/jdk/pull/21235#discussion_r1780358166
More information about the client-libs-dev
mailing list