JDK-8217235 : Create automated test for SwingSet ColorChooserDemoTest
  • Type: Task
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 11
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-01-16
  • Updated: 2019-12-05
  • Resolved: 2019-01-24
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.
JDK 11 JDK 13
11.0.7-oracleFixed 13 b08Fixed
Related Reports
Relates :  
Description
Create automated  test for SwingSet ColorChooserDemoTest

1. Press Background button.
2. Wait till ColorChooserDialog shows
3. Press OK
4. Wait till ColorChooserDialog has closed
5. Press Background button.
6. Wait till ColorChooserDialog shows
7. Press Cancel
8. Wait till ColorChooserDialog has closed
9. Press Background button.
10. Wait till ColorChooserDialog shows
11. Press Reset
12. Wait for some time
13. Check that ColorChooserDialog still shows
14. Close the ColorChooserDialog
15. Press Gradient 1 Button
16. Repeat tests for OK, Cancel and Reset buttons as above
17. Press Gradient 2 Button
18. Repeat tests for OK, Cancel and Reset buttons as above
19. Press Perimeter Button
20. Repeat tests for OK, Cancel and Reset buttons as above 

Additionally, for HSV, HSL,RGB,CMYK we  move the sliders and check for corresponding change in the values in the accompanying spinners. 
and similarly interact with other controls and verify changes in the ColorChooserDialog itself 
Comments
Fix request (11u) I would like to downport this for parity with 11.0.7-oracle. Applies clean.
02-12-2019