/hg/gfx-test: Added stubs for three new test suites. Added new t...

ptisnovs at icedtea.classpath.org ptisnovs at icedtea.classpath.org
Tue Jun 18 05:07:07 PDT 2013


changeset 3b4f1b1e8451 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=3b4f1b1e8451
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Tue Jun 18 14:10:38 2013 +0200

	Added stubs for three new test suites. Added new transformation type.


diffstat:

 ChangeLog                                                             |  11 +
 Makefile                                                              |   6 +
 src/org/gfxtest/framework/annotations/Transformations.java            |   5 +
 src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java       |  76 ++++++++++
 src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java |  76 ++++++++++
 src/org/gfxtest/testsuites/BitBltAffineRotateTransformOp.java         |  76 ++++++++++
 6 files changed, 250 insertions(+), 0 deletions(-)

diffs (296 lines):

diff -r 9da4ad7fe2ec -r 3b4f1b1e8451 ChangeLog
--- a/ChangeLog	Fri Jun 14 10:04:50 2013 +0200
+++ b/ChangeLog	Tue Jun 18 14:10:38 2013 +0200
@@ -1,3 +1,14 @@
+2013-06-18  Pavel Tisnovsky  <ptisnovs at redhat.com>
+
+	* src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java:
+	* src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java:
+	* src/org/gfxtest/testsuites/BitBltAffineRotateTransformOp.java:
+	Added stubs for three new test suites.
+	* src/org/gfxtest/framework/annotations/Transformations.java:
+	Added new transformation type.
+	* Makefile:
+	Added new classes to compile and new tests to run.
+
 2013-06-14  Pavel Tisnovsky  <ptisnovs at redhat.com>
 
 	* src/org/gfxtest/testsuites/BitBltCropImage.java:
diff -r 9da4ad7fe2ec -r 3b4f1b1e8451 Makefile
--- a/Makefile	Fri Jun 14 10:04:50 2013 +0200
+++ b/Makefile	Tue Jun 18 14:10:38 2013 +0200
@@ -150,6 +150,9 @@
 	$(CLASSES)/$(TESTSUITE_DIR)/BitBltUsingBgColor.class \
 	$(CLASSES)/$(TESTSUITE_DIR)/BitBltUsingBgColorAlpha.class \
 	$(CLASSES)/$(TESTSUITE_DIR)/BitBltAffineTransformOp.class \
+	$(CLASSES)/$(TESTSUITE_DIR)/BitBltAffineIdentityTransformOp.class \
+	$(CLASSES)/$(TESTSUITE_DIR)/BitBltAffineQuadrantRotateTransformOp.class \
+	$(CLASSES)/$(TESTSUITE_DIR)/BitBltAffineRotateTransformOp.class \
 	$(CLASSES)/$(TESTSUITE_DIR)/BitBltColorConvertOp.class \
 	$(CLASSES)/$(TESTSUITE_DIR)/BitBltConvolveOp.class \
 	$(CLASSES)/$(TESTSUITE_DIR)/BitBltCustomOp.class \
@@ -256,6 +259,9 @@
 	$(RESULTS)/BitBltUsingBgColor \
 	$(RESULTS)/BitBltUsingBgColorAlpha \
 	$(RESULTS)/BitBltAffineTransformOp \
+	$(RESULTS)/BitBltAffineIdentityTransformOp \
+	$(RESULTS)/BitBltAffineQuadrantRotateTransformOp \
+	$(RESULTS)/BitBltAffineRotateTransformOp \
 	$(RESULTS)/BitBltColorConvertOp \
 	$(RESULTS)/BitBltConvolveOp \
 	$(RESULTS)/BitBltCustomOp \
diff -r 9da4ad7fe2ec -r 3b4f1b1e8451 src/org/gfxtest/framework/annotations/Transformations.java
--- a/src/org/gfxtest/framework/annotations/Transformations.java	Fri Jun 14 10:04:50 2013 +0200
+++ b/src/org/gfxtest/framework/annotations/Transformations.java	Tue Jun 18 14:10:38 2013 +0200
@@ -76,6 +76,11 @@
     SKEW,
 
     /**
+     * Translate transformation is used.
+     */
+    TRANSLATE,
+
+    /**
      * Various linear transformation is used.
      */
     VARIOUS,
diff -r 9da4ad7fe2ec -r 3b4f1b1e8451 src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java	Tue Jun 18 14:10:38 2013 +0200
@@ -0,0 +1,76 @@
+/*
+  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
+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.GfxTest;
+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;
+
+
+
+ at TestType(TestTypes.RENDER_TEST)
+ at GraphicsPrimitive(GraphicsPrimitives.COMMON_BITMAP)
+ at RenderStyle(RenderStyles.NORMAL)
+ at BitBltOperation(BitBltOperations.BITBLT)
+ at Transformation(Transformations.NONE)
+ at Zoom(1)
+public class BitBltAffineIdentityTransformOp extends GfxTest
+{
+    /**
+     * Entry point to the test suite.
+     *
+     * @param args not used in this case
+     */
+    public static void main(String[] args)
+    {
+        new BitBltAffineIdentityTransformOp().runTestSuite(args);
+    }
+
+}
diff -r 9da4ad7fe2ec -r 3b4f1b1e8451 src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java	Tue Jun 18 14:10:38 2013 +0200
@@ -0,0 +1,76 @@
+/*
+  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
+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.GfxTest;
+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;
+
+
+
+ at TestType(TestTypes.RENDER_TEST)
+ at GraphicsPrimitive(GraphicsPrimitives.COMMON_BITMAP)
+ at RenderStyle(RenderStyles.NORMAL)
+ at BitBltOperation(BitBltOperations.BITBLT)
+ at Transformation(Transformations.ROTATION)
+ at Zoom(1)
+public class BitBltAffineQuadrantRotateTransformOp extends GfxTest
+{
+    /**
+     * Entry point to the test suite.
+     *
+     * @param args not used in this case
+     */
+    public static void main(String[] args)
+    {
+        new BitBltAffineQuadrantRotateTransformOp().runTestSuite(args);
+    }
+    
+}
diff -r 9da4ad7fe2ec -r 3b4f1b1e8451 src/org/gfxtest/testsuites/BitBltAffineRotateTransformOp.java
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/gfxtest/testsuites/BitBltAffineRotateTransformOp.java	Tue Jun 18 14:10:38 2013 +0200
@@ -0,0 +1,76 @@
+/*
+  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
+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.GfxTest;
+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;
+
+
+
+ at TestType(TestTypes.RENDER_TEST)
+ at GraphicsPrimitive(GraphicsPrimitives.COMMON_BITMAP)
+ at RenderStyle(RenderStyles.NORMAL)
+ at BitBltOperation(BitBltOperations.BITBLT)
+ at Transformation(Transformations.ROTATION)
+ at Zoom(1)
+public class BitBltAffineRotateTransformOp extends GfxTest
+{
+    /**
+     * Entry point to the test suite.
+     *
+     * @param args not used in this case
+     */
+    public static void main(String[] args)
+    {
+        new BitBltAffineRotateTransformOp().runTestSuite(args);
+    }
+    
+}



More information about the distro-pkg-dev mailing list