RFR: 8282270: java/awt/Robot Screen Capture tests fail after 8280861 [v3]
Alexey Ivanov
aivanov at openjdk.java.net
Tue Mar 15 18:44:49 UTC 2022
On Wed, 9 Mar 2022 15:04:13 GMT, Maxim Kartashev <duke at openjdk.java.net> wrote:
> > Does it make sense to run all the checks before throwing the exception?
> > I mean run all the checks that the test performs and accumulate failures if any. If the list of failures isn't empty, throw an exception to fail the entire test.
>
> That might turn out to be useful for debugging a failure, I think.
Yes, it will provide the results for all the points that are verified as well as the screenshot. The screenshot should probably be taken with `createMultiResolutionScreenCapture` especially where the uiScale is above 1. I partially implemented it in my own branch while I was running the tests.
Shall I submit a new issue?
-------------
PR: https://git.openjdk.java.net/jdk/pull/7613
More information about the client-libs-dev
mailing list