/hg/gfx-test: * src/org/gfxtest/testsuites/PrintTestColorPaint.j...

ptisnovs at icedtea.classpath.org ptisnovs at icedtea.classpath.org
Mon May 14 02:20:53 PDT 2012


changeset 88fa675194be in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=88fa675194be
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Mon May 14 11:23:24 2012 +0200

	* src/org/gfxtest/testsuites/PrintTestColorPaint.java:
	* src/org/gfxtest/testsuites/PrintTestGradientPaint.java:
	* src/org/gfxtest/testsuites/PrintTestTexturePaint.java:
	  Stubs for new tests.
	* Makefile: Updated


diffstat:

 ChangeLog                                              |   8 +
 Makefile                                               |  16 ++-
 src/org/gfxtest/testsuites/PrintTestColorPaint.java    |  76 ++++++++++++++++++
 src/org/gfxtest/testsuites/PrintTestGradientPaint.java |  76 ++++++++++++++++++
 src/org/gfxtest/testsuites/PrintTestTexturePaint.java  |  76 ++++++++++++++++++
 5 files changed, 247 insertions(+), 5 deletions(-)

diffs (288 lines):

diff -r b8c873675075 -r 88fa675194be ChangeLog
--- a/ChangeLog	Fri May 11 10:01:32 2012 +0200
+++ b/ChangeLog	Mon May 14 11:23:24 2012 +0200
@@ -1,3 +1,11 @@
+2012-05-14  Pavel Tisnovsky  <ptisnovs at redhat.com>
+
+	* src/org/gfxtest/testsuites/PrintTestColorPaint.java:
+	* src/org/gfxtest/testsuites/PrintTestGradientPaint.java:
+	* src/org/gfxtest/testsuites/PrintTestTexturePaint.java:
+	Stubs for new tests.
+	* Makefile: Updated
+
 2012-05-11  Pavel Tisnovsky  <ptisnovs at redhat.com>
 
 	* src/org/gfxtest/testsuites/PrintTestCircles.java:
diff -r b8c873675075 -r 88fa675194be Makefile
--- a/Makefile	Fri May 11 10:01:32 2012 +0200
+++ b/Makefile	Mon May 14 11:23:24 2012 +0200
@@ -185,7 +185,10 @@
 	$(CLASSES)/$(TESTSUITE_DIR)/PrintTestArcs.java \
 	$(CLASSES)/$(TESTSUITE_DIR)/PrintTestBitBlt.java \
 	$(CLASSES)/$(TESTSUITE_DIR)/PrintTestCircles.java \
-	$(CLASSES)/$(TESTSUITE_DIR)/PrintTestDrawText.java
+	$(CLASSES)/$(TESTSUITE_DIR)/PrintTestDrawText.java \
+	$(CLASSES)/$(TESTSUITE_DIR)/PrintTestColorPaint.java \
+	$(CLASSES)/$(TESTSUITE_DIR)/PrintTestGradientPaint.java \
+	$(CLASSES)/$(TESTSUITE_DIR)/PrintTestTexturePaint.java
 
 COMPARE_RESULTS = \
 	$(RESULTS)/Areas \
@@ -263,10 +266,13 @@
 	$(RESULTS)/PrintTestPaths \
 	$(RESULTS)/PrintTestPolylines \
 	$(RESULTS)/PrintTestQuadraticCurves \
-	$(RESULTS)/PrintTestArcs.java \
-	$(RESULTS)/PrintTestBitBlt.java \
-	$(RESULTS)/PrintTestCircles.java \
-	$(RESULTS)/PrintTestDrawText.java
+	$(RESULTS)/PrintTestArcs \
+	$(RESULTS)/PrintTestBitBlt \
+	$(RESULTS)/PrintTestCircles \
+	$(RESULTS)/PrintTestDrawText \
+	$(RESULTS)/PrintTestColorPaint \
+	$(RESULTS)/PrintTestGradientPaint \
+	$(RESULTS)/PrintTestTexturePaint
 
 # targets for all test suites
 TESTSUITES = $(shell ls -1 src/org/gfxtest/testsuites | sed -n -e 's/\([A-Za-z0-9]*\)\.java/\1/p')
diff -r b8c873675075 -r 88fa675194be src/org/gfxtest/testsuites/PrintTestColorPaint.java
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/gfxtest/testsuites/PrintTestColorPaint.java	Mon May 14 11:23:24 2012 +0200
@@ -0,0 +1,76 @@
+/*
+  Java gfx-test framework
+
+   Copyright (C) 2012  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
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+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
+combination.
+
+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 org.gfxtest.framework.PrintTest;
+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 renders filled shapes using ColorPaint.
+ * 
+ * @author Pavel Tisnovsky
+ */
+ at TestType(TestTypes.RENDER_TEST)
+ at RenderStyle(RenderStyles.FILL)
+ at Transformation(Transformations.NONE)
+ at Zoom(1)
+public class PrintTestColorPaint extends PrintTest
+{
+    
+    /**
+     * Entry point to the test suite.
+     * 
+     * @param args
+     *            not used in this case
+     */
+    public static void main(String[] args)
+    {
+        new PrintTestColorPaint().runTestSuite(args);
+    }
+}
diff -r b8c873675075 -r 88fa675194be src/org/gfxtest/testsuites/PrintTestGradientPaint.java
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/gfxtest/testsuites/PrintTestGradientPaint.java	Mon May 14 11:23:24 2012 +0200
@@ -0,0 +1,76 @@
+/*
+  Java gfx-test framework
+
+   Copyright (C) 2012  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
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+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
+combination.
+
+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 org.gfxtest.framework.PrintTest;
+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 renders filled shapes using GradientPaint.
+ * 
+ * @author Pavel Tisnovsky
+ */
+ at TestType(TestTypes.RENDER_TEST)
+ at RenderStyle(RenderStyles.FILL)
+ at Transformation(Transformations.NONE)
+ at Zoom(1)
+public class PrintTestGradientPaint extends PrintTest
+{
+    
+    /**
+     * Entry point to the test suite.
+     * 
+     * @param args
+     *            not used in this case
+     */
+    public static void main(String[] args)
+    {
+        new PrintTestGradientPaint().runTestSuite(args);
+    }
+}
diff -r b8c873675075 -r 88fa675194be src/org/gfxtest/testsuites/PrintTestTexturePaint.java
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/gfxtest/testsuites/PrintTestTexturePaint.java	Mon May 14 11:23:24 2012 +0200
@@ -0,0 +1,76 @@
+/*
+  Java gfx-test framework
+
+   Copyright (C) 2012  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
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+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
+combination.
+
+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 org.gfxtest.framework.PrintTest;
+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 renders filled shapes using TexturePaint.
+ * 
+ * @author Pavel Tisnovsky
+ */
+ at TestType(TestTypes.RENDER_TEST)
+ at RenderStyle(RenderStyles.FILL)
+ at Transformation(Transformations.NONE)
+ at Zoom(1)
+public class PrintTestTexturePaint extends PrintTest
+{
+    
+    /**
+     * Entry point to the test suite.
+     * 
+     * @param args
+     *            not used in this case
+     */
+    public static void main(String[] args)
+    {
+        new PrintTestTexturePaint().runTestSuite(args);
+    }
+}



More information about the distro-pkg-dev mailing list