<Swing Dev> RFR: 8253543: sanity/client/SwingSet/src/ButtonDemoScreenshotTest.java failed with "AssertionError: All pixels are not black"
Sergey Bylokhov
serb at openjdk.java.net
Tue Sep 29 05:08:56 UTC 2020
On Mon, 28 Sep 2020 22:22:55 GMT, Alexandre Iline <shurailine at openjdk.org> wrote:
> Added a few synchronization points to the test:
> 1 wait for the screen to change where the test window is displayed
> 2 wait for the image to get still (i.e. painted complete)
> 3 wait for the image to change after the mouse move
> 4 wait for the image change and then to get still after the mouse press
> 5 wait for the image to change after the mouse release
>
> @mrserb Can you take a look?
test/jdk/sanity/client/SwingSet/src/ButtonDemoTest.java line 38:
> 36: import org.testng.annotations.Test;
> 37: import org.jemmy2ext.JemmyExt.ByToolTipChooser;
> 38: import static org.jemmy2ext.JemmyExt.*;
Looks like the change in this file is unnecessary? Note, we do not use '*' in the imports(same note in the
EditorPaneDemoTest.java )
-------------
PR: https://git.openjdk.java.net/jdk/pull/389
More information about the swing-dev
mailing list