RFR: 8297489: Write a test to verify the content change of TextField sends TextEvent [v3]

Alexey Ivanov aivanov at openjdk.org
Mon Nov 28 19:29:45 UTC 2022


On Thu, 24 Nov 2022 06:10:20 GMT, ravi gupta <duke at openjdk.org> wrote:

>> This testcase Verify the content changes of a TextField 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.
>
> ravi gupta has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8297489: Review fixes

This test is very similar to that in #11052: `TextField` vs `TextArea` ([JDK-8296632](https://bugs.openjdk.org/browse/JDK-8296632)).

Is it possible to modify the test so that it runs twice for both components?

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

Changes requested by aivanov (Reviewer).

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



More information about the client-libs-dev mailing list