changeset 11002:504705a06aa3

8207370: Several Monocle robot tests fail because of deprecated assertEquals calls Reviewed-by: kcr Contributed-by: mike.ennen@gmail.com
author kcr
date Tue, 24 Jul 2018 09:02:55 -0700
parents 21b47529863d
children 202fc7cbc4d5
files tests/system/src/test/java/test/robot/com/sun/glass/ui/monocle/TestApplication.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/system/src/test/java/test/robot/com/sun/glass/ui/monocle/TestApplication.java	Sat Jul 21 06:14:35 2018 -0700
+++ b/tests/system/src/test/java/test/robot/com/sun/glass/ui/monocle/TestApplication.java	Tue Jul 24 09:02:55 2018 -0700
@@ -365,8 +365,8 @@
                 TestLogShim.log("y = " + robot.getMouseY());
                 TestLogShim.log("targetX = " + targetX);
                 TestLogShim.log("targetY = " + targetY);
-                Assert.assertEquals(targetX, robot.getMouseX());
-                Assert.assertEquals(targetY, robot.getMouseY());
+                Assert.assertEquals(targetX, (int) robot.getMouseX());
+                Assert.assertEquals(targetY, (int) robot.getMouseY());
             });
             frameWait(1);
         } finally {