RFR: 8282860: Write a regression test for JDK-4164779

Manukumar V S mvs at openjdk.java.net
Sun Mar 13 13:49:19 UTC 2022


Write a regression test for [JDK-4164779](https://bugs.openjdk.java.net/browse/JDK-4164779) : JSplitPane keyboard navigation does not support F6 and Ctrl+Tab
Context: Migrating tests from a closed tonga based test suite to open regression based one.

Issue:
The specified keyboard support for JSplitPane also requires F6 and Ctrl+Tab (navigate out) for the JSplitPane. Those are currently not implemented.

F6 is supposed to move the focus from the current focused component on one side of the JSplitPane to the other side of the JSplitPane without having to tab through to that.

Ctrl+Tab is supposed to move the input focus from whatever component inside the JSplitPane that has the focus to the next component outside the JSplitPane.


Testing:
Java 1.4.0 -> Test Failed.
$ ./j2sdk1.4.0/bin/java JSplitPaneTest
Verifier 1 failed
Verifier 2 failed
Verifier 3 failed
Verifier 4 failed
Test Failed.

Java 1.4.1 -> Test Passed.
$ ./j2sdk1.4.1/bin/java JSplitPaneTest
Verifier 1 passed
Verifier 2 passed
Verifier 3 passed
Verifier 4 passed
Test Passed.

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

Commit messages:
 - 8282860: Write a regression test for JDK-4164779

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

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



More information about the client-libs-dev mailing list