/hg/gfx-test: Added stub for new test suite: PrintTestBitBltUsin...

ptisnovs at icedtea.classpath.org ptisnovs at icedtea.classpath.org
Mon Mar 4 01:07:53 PST 2013

changeset 20e676c3a1a2 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=20e676c3a1a2
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Mon Mar 04 10:10:58 2013 +0100

	Added stub for new test suite: PrintTestBitBltUsingBgColorAlpha.java


 ChangeLog                                                        |   5 +
 src/org/gfxtest/testsuites/PrintTestBitBltUsingBgColorAlpha.java |  84 ++++++++++
 2 files changed, 89 insertions(+), 0 deletions(-)

diffs (100 lines):

diff -r 0361daa31f26 -r 20e676c3a1a2 ChangeLog
--- a/ChangeLog	Fri Mar 01 10:34:07 2013 +0100
+++ b/ChangeLog	Mon Mar 04 10:10:58 2013 +0100
@@ -1,3 +1,8 @@
+2013-03-04  Pavel Tisnovsky  <ptisnovs at redhat.com>
+	* src/org/gfxtest/testsuites/PrintTestBitBltUsingBgColorAlpha.java:
+	Added stub for new test suite.
 2013-03-01  Pavel Tisnovsky  <ptisnovs at redhat.com>
 	* src/org/gfxtest/framework/BitBltOperations.java:
diff -r 0361daa31f26 -r 20e676c3a1a2 src/org/gfxtest/testsuites/PrintTestBitBltUsingBgColorAlpha.java
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/gfxtest/testsuites/PrintTestBitBltUsingBgColorAlpha.java	Mon Mar 04 10:10:58 2013 +0100
@@ -0,0 +1,84 @@
+  Java gfx-test framework
+   Copyright (C) 2013  Red Hat
+This file is part of IcedTea.
+IcedTea is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+IcedTea is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+General Public License for more details.
+You should have received a copy of the GNU General Public License
+along with IcedTea; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version.
+package org.gfxtest.testsuites;
+import java.awt.Color;
+import java.awt.Graphics2D;
+import java.awt.image.BufferedImage;
+import org.gfxtest.framework.CommonBitmapOperations;
+import org.gfxtest.framework.PrintTest;
+import org.gfxtest.framework.TestImage;
+import org.gfxtest.framework.TestResult;
+import org.gfxtest.framework.annotations.BitBltOperation;
+import org.gfxtest.framework.annotations.BitBltOperations;
+import org.gfxtest.framework.annotations.GraphicsPrimitive;
+import org.gfxtest.framework.annotations.GraphicsPrimitives;
+import org.gfxtest.framework.annotations.RenderStyle;
+import org.gfxtest.framework.annotations.RenderStyles;
+import org.gfxtest.framework.annotations.TestType;
+import org.gfxtest.framework.annotations.TestTypes;
+import org.gfxtest.framework.annotations.Transformation;
+import org.gfxtest.framework.annotations.Transformations;
+import org.gfxtest.framework.annotations.Zoom;
+ * This test check the rendering of buffered images (so called bit block
+ * transfers or Bit Blt) created by various constructors. Such images are
+ * rendered with explicitly set background color which should affect
+ * transparent or semi-transparent images.
+ * 
+ * @author Pavel Tisnovsky
+ */
+ at TestType(TestTypes.PRINT_TEST)
+ at GraphicsPrimitive(GraphicsPrimitives.COMMON_BITMAP)
+ at RenderStyle(RenderStyles.NORMAL)
+ at BitBltOperation(BitBltOperations.BITBLT)
+ at Transformation(Transformations.NONE)
+ at Zoom(1)
+public class PrintTestBitBltUsingBgColorAlpha extends PrintTest

More information about the distro-pkg-dev mailing list