/hg/icedtea6: Correction of testcase sun/java2d/DirectX/OnScreen...
ptisnovs at icedtea.classpath.org
ptisnovs at icedtea.classpath.org
Tue Sep 21 02:12:36 PDT 2010
changeset fd77bd063119 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=fd77bd063119
author: ptisnovs
date: Tue Sep 21 11:11:45 2010 +0200
Correction of testcase sun/java2d/DirectX/OnScreenringResizeTest/OnS
creenRenderingResizeTest.java.
diffstat:
3 files changed, 39 insertions(+), 1 deletion(-)
ChangeLog | 7 ++
Makefile.am | 3 -
patches/openjdk/6984543-onscreen_rendering_resize_test.patch | 30 ++++++++++
diffs (61 lines):
diff -r 2fa7aed828ed -r fd77bd063119 ChangeLog
--- a/ChangeLog Mon Sep 20 20:48:54 2010 +0100
+++ b/ChangeLog Tue Sep 21 11:11:45 2010 +0200
@@ -1,3 +1,10 @@ 2010-09-20 Andrew John Hughes <ahughes
+2010-09-21 Pavel Tisnovsky <ptisnovs at redhat.com>
+
+ * Makefile.am:
+ Add new patch.
+ * patches/openjdk/6984543-onscreen_rendering_resize_test.patch:
+ Testcase correction.
+
2010-09-20 Andrew John Hughes <ahughes at redhat.com>
* Makefile.am:
diff -r 2fa7aed828ed -r fd77bd063119 Makefile.am
--- a/Makefile.am Mon Sep 20 20:48:54 2010 +0100
+++ b/Makefile.am Tue Sep 21 11:11:45 2010 +0200
@@ -338,7 +338,8 @@ ICEDTEA_PATCHES += patches/openjdk/67252
patches/openjdk/6307603-xrender-01.patch \
patches/openjdk/6961633-xrender-02.patch \
patches/openjdk/6791612-opengl-jni-fix.patch \
- patches/openjdk/6755274-glgetstring-crash.patch
+ patches/openjdk/6755274-glgetstring-crash.patch \
+ patches/openjdk/6984543-onscreen_rendering_resize_test.patch
endif
if ENABLE_NIO2
diff -r 2fa7aed828ed -r fd77bd063119 patches/openjdk/6984543-onscreen_rendering_resize_test.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/openjdk/6984543-onscreen_rendering_resize_test.patch Tue Sep 21 11:11:45 2010 +0200
@@ -0,0 +1,30 @@
+# HG changeset patch
+# User ptisnovs
+# Date 1284636320 -7200
+# Node ID 441e86ab3233112c3564210c7a669c295628a679
+# Parent a248eb631aa22ab6f3a3487a679814940117dadc
+6984543: Test sun/java2d/DirectX/OnScreenRenderingResizeTest fails on GNOME
+Summary: Testcase correction.
+Reviewed-by: art
+
+diff -r a248eb631aa2 -r 441e86ab3233 test/sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java
+--- openjdk/jdk/test/sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest-old.java 2010-09-17 14:01:17.000000000 +0200
++++ openjdk/jdk/test/sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java 2010-09-17 13:20:00.000000000 +0200
+@@ -157,7 +157,7 @@
+ if (cnt == 90 && robot != null) {
+ // area where we blitted to should be either white or green
+ Point p = frame.getLocationOnScreen();
+- p.move(in.left+10, in.top+10);
++ p.translate(in.left+10, in.top+10);
+ BufferedImage bi =
+ robot.createScreenCapture(
+ new Rectangle(p.x, p.y, IMAGE_W/2, IMAGE_H/2));
+@@ -166,7 +166,7 @@
+
+ // the are where we didn't render should stay white
+ p = frame.getLocationOnScreen();
+- p.move(in.left, in.top+IMAGE_H+5);
++ p.translate(in.left, in.top+IMAGE_H+5);
+ bi = robot.createScreenCapture(
+ new Rectangle(p.x, p.y,
+ frame.getWidth()-in.left-in.right,
More information about the distro-pkg-dev
mailing list