RFR: 8315804: Open source several Swing JTabbedPane JTextArea JTextField tests
Alexey Ivanov
aivanov at openjdk.org
Mon Sep 18 13:49:55 UTC 2023
On Fri, 15 Sep 2023 22:54:32 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:
>> These are the tests being converted:
>>
>> javax/swing/JTabbedPane/4703690/bug4703690.java
>> javax/swing/JTabbedPane/GetComponentAt/GetComponentAtTest.java
>> javax/swing/JTabbedPane/ReplaceCompTab/ReplaceCompTab.java
>> javax/swing/JTextArea/4849868/bug4849868.java
>> javax/swing/JTextField/4244613/bug4244613.java
>
> test/jdk/javax/swing/JTabbedPane/bug4703690.java line 129:
>
>> 127: robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK);
>> 128:
>> 129: robot.delay(1000);
>
> Do we require a large amount of delay here? ideally ~200-300 would work I guess.
`waitForIdle` and a small delay.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15747#discussion_r1328645582
More information about the client-libs-dev
mailing list