JDK-8207369 : Add more FX Robot API tests
  • Type: Bug
  • Component: javafx
  • Sub-Component: scenegraph
  • Affected Version: openjfx11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-07-17
  • Updated: 2018-12-06
  • Resolved: 2018-12-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjfx12Fixed
Related Reports
Relates :  
Relates :  
Description
Add more FX Robot API tests to tests/system/src/test/java/test/robot/javafx/scene/RobotTest.java

Specifically, each method should be tested with various parameters -- ideally, all possible combinations of various modes of operations (boolean and enum params) and a few different values for x, y, width, height, etc. We should also have tests for documented exceptions (e.g., threading and permission checks, size checks).

We should have another test for screen capture using an asymmetrical image, so that it would fail if the image were right-left or top-bottom reversed.

Add some tests for multi-screen configuration (especially screen capture)

Make sure that screen capture works for multiple screens with different DPIs.

Comments
Changeset: 281a7c2ead0f Author: mennen Date: 2018-12-05 18:46 -0800 URL: http://hg.openjdk.java.net/openjfx/jfx-dev/rt/rev/281a7c2ead0f 8207369: Add more FX Robot API tests Reviewed-by: kcr
06-12-2018