On Wed, 9 Nov 2022 04:29:35 GMT, ravi gupta <d...@openjdk.org> wrote:

> This testcase Verify the content changes of a TextArea for the following 
> assertions.
> 
> a. TextListener get invoked when the content of a TextArea gets changed.
> b. TextListener not get invoked during text selection or when Special keys 
> such as Function Keys are pressed.
> 
> 
> Testing:
> Tested using Mach5(20 times per platform) in macos,linux and windows and got 
> all pass.

test/jdk/java/awt/event/ComponentEvent/TextAreaTextEventTest.java line 59:

> 57:             robot.waitForIdle();
> 58:             Point textAreaAt = textArea.getLocationOnScreen();
> 59:             Dimension textAreaSize = textArea.getSize();

textArea being a swig component, these should be triggered on EDT.

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

PR: https://git.openjdk.org/jdk/pull/11052

Reply via email to