On Wed, 23 Aug 2023 23:30:50 GMT, Andy Goryachev <ango...@openjdk.org> wrote:
> Creating the first batch of tests and testing framework that enables writing > behavior tests for javafx controls, focusing on key bindings. The idea is to > make writing such tests a simple process. > > This PR deals with the descendants of TextInputControl (TextField, > PasswordField, TextArea). Most of the tests are headless, but in some cases > (TextArea) a headful test is required because the behavior needs rendered > text to function (example: page up / page down / line start / line end and > the like). > > The tests exercise the key bindings registered by the Skin (or, rather the > associated Behavior) at least once, and sometimes more than once. > > Some mappings cannot be tested due to Robot not supporting keypad events > (created [JDK-8316307](https://bugs.openjdk.org/browse/JDK-8316307)). > > In addition, the key bindings are documented in /doc-files/behavior markdown > documents: > > https://github.com/andy-goryachev-oracle/jfx/blob/8314906.behavior.test/doc-files/behavior/PasswordField.md > https://github.com/andy-goryachev-oracle/jfx/blob/8314906.behavior.test/doc-files/behavior/TextArea.md > https://github.com/andy-goryachev-oracle/jfx/blob/8314906.behavior.test/doc-files/behavior/TextField.md > https://github.com/andy-goryachev-oracle/jfx/blob/8314906.behavior.test/doc-files/behavior/TextInputControl.md This pull request has now been integrated. Changeset: f76437da Author: Andy Goryachev <ango...@openjdk.org> URL: https://git.openjdk.org/jfx/commit/f76437da86dbb6a2ad742c06f5818a2abac2d5eb Stats: 2741 lines in 14 files changed: 2725 ins; 3 del; 13 mod 8314906: [testbug] Create behavior tests for text input controls Reviewed-by: aghaisas, kpk ------------- PR: https://git.openjdk.org/jfx/pull/1221