RFR: 8297095: Write a test to determine the quit request of the application
Naveen Narayanan
duke at openjdk.org
Thu Nov 24 10:43:19 UTC 2022
On Wed, 23 Nov 2022 18:29:50 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:
>> This testcase will
>> 1) Verify the handleQuitRequestWith() method of QuitHandler interface.
>> 2) Check that the response is passed to the handler by means of quit notification generated by a key combination of META+Q (Mac) or ALT+F4(Windows & Linux).
>> 3) Confirm that the active window is closed.
>>
>> Testing:
>> Tested using Mach5(20 times per platform) in Mac OS, Linux and Windows and got all pass.
>
> test/jdk/java/awt/Desktop/ActiveWindowCloseTest.java line 2:
>
>> 1:
>> 2: /* Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
>
> If this is a newly created test, then the copyright should contain only the present year.
I have added the original date based on the above comment that’s we get during the PR review below
https://github.com/openjdk/jdk/pull/7512#issuecomment-1075171066
-------------
PR: https://git.openjdk.org/jdk/pull/11328
More information about the client-libs-dev
mailing list