RFR: 8231692: Test Infrastructure: enhance KeyEventFirer to inject keyEvents into scene

Jeanette Winzenburg fastegal at openjdk.org
Thu Nov 7 11:52:36 UTC 2019


On Thu, 31 Oct 2019 21:21:47 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> On Wed, 23 Oct 2019 11:32:48 GMT, Jeanette Winzenburg <fastegal at openjdk.org> wrote:
> 
>> The issue is that firing keyEvents on a node that is not focusOwner might produce false green tests, please see the issue for details.
>> 
>> fix for https://bugs.openjdk.java.net/browse/JDK-8231692
>> - added contructor taking the scene
>> - changed event firing to use either the target directly or inject into
>> scene
>> 
>> ----------------
>> 
>> Commits:
>>  - aabea139: Test Infrastructure: enhance KeyEventFirer to inject keyEvents into
>> 
>> Changes: https://git.openjdk.java.net/jfx/pull/20/files
>>  Webrev: https://webrevs.openjdk.java.net/jfx/20/webrev.00
>>   Issue: https://bugs.openjdk.java.net/browse/JDK-8231692
>>   Stats: 263 lines in 2 files changed: 260 ins; 2 del; 1 mod
>>   Patch: https://git.openjdk.java.net/jfx/pull/20.diff
>>   Fetch: git fetch https://git.openjdk.java.net/jfx pull/20/head:pull/20
> 
> @aghaisas can you review this? A single reviewer will be sufficient.

done as requested :)

As to the ignored tests, I removed most and re-formulated one to demonstrate the difference between firing onto a not-focusOwner and firing via scene

PR: https://git.openjdk.java.net/jfx/pull/20


More information about the openjfx-dev mailing list