RFR: 8296632: Write a test to verify the content change of TextArea sends TextEvent.

Srinivas Mandalika smandalika at openjdk.org
Wed Nov 9 08:12:21 UTC 2022


On Wed, 9 Nov 2022 04:29:35 GMT, ravi gupta <duke at 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 2:

> 1: /*
> 2:  * Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.

Is the year in which this test was initially written known? If yes, it is good to have that added here.

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

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



More information about the client-libs-dev mailing list