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.

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

Commit messages:
 - 8297095: Write a test to determine the quit request of the application

Changes: https://git.openjdk.org/jdk/pull/11328/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11328&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8297095
  Stats: 124 lines in 1 file changed: 124 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/11328.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11328/head:pull/11328

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

Reply via email to