On Thu, 18 Apr 2024 15:17:54 GMT, Kevin Rushforth <k...@openjdk.org> wrote:
> I'd like to see a test, if possible. Where can I find hints on this? I would use TestFX, fire up some minimal app and try to hit the branches of WinTextRangeProvider. However, I did not find TestFX as used. And there is no `javafx.graphics/src/test/java/test/com/sun/glass/ui/win`. There is also no `javafx.graphics/src/test/java/test/com/sun/javafx/scene/control` for testing a TextField. I assume, I need to create some class in `test.javafx.scene.input`? Based on my experience, I would create a test for `WinTextRangeProvider` directly and supply some values to it to check that the "right" branches are covered. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1442#issuecomment-2064759752