Integrated: 8297489: Modify TextAreaTextEventTest.java as to verify the content change of TextComponent sends TextEvent

Ravi Gupta duke at openjdk.org
Mon Dec 5 18:45:37 UTC 2022


On Wed, 23 Nov 2022 15:15:32 GMT, Ravi Gupta <duke at openjdk.org> wrote:

> Modify TextAreaTextEventTest.java as to verify the content changes of a both TextComponent(TextField,TextArea) for the following assertions.
> 
> a. TextListener get invoked when the content of a TextField 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.

This pull request has now been integrated.

Changeset: 7d20a60a
Author:    ravi.ra.gupta <ravi.ra.gupta at oracle.com>
Committer: Alexey Ivanov <aivanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7d20a60a983e459ea1c4e843fbde70fb796c6249
Stats:     302 lines in 2 files changed: 161 ins; 141 del; 0 mod

8297489: Modify TextAreaTextEventTest.java as to verify the content change of TextComponent sends TextEvent

Reviewed-by: honkar, aivanov

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

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



More information about the client-libs-dev mailing list