RFR: 8281738: Create a regression test for checking the 'Space' key activation of focused Button [v2]

Phil Race prr at openjdk.java.net
Wed Feb 16 22:55:04 UTC 2022


On Tue, 15 Feb 2022 08:06:46 GMT, Manukumar V S <mvs at openjdk.org> wrote:

>> This test verifies in all platforms and in all 'Look and Feels' that pressing the 'Space' key generates ActionEvent on focused Button or not.
>
> Manukumar V S has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed review comments: waitForIdle() added after frame creation and waits until button gains focus

test/jdk/javax/swing/JButton/SpaceKeyActivatesButton.java line 39:

> 37: 
> 38: /*
> 39:  * @test

@bug ?

And I presume you've verified this using mach 5?

Also do we actually specify that Space generates an ActionEvent on a Button ?
I'm wondering what is the motivation for this test.

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

PR: https://git.openjdk.java.net/jdk/pull/7460



More information about the client-libs-dev mailing list