/hg/gfx-test: Changed test annotations, updated tests, updated M...
ptisnovs at icedtea.classpath.org
ptisnovs at icedtea.classpath.org
Thu Sep 6 00:31:23 PDT 2012
changeset 15eba2d75bf7 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=15eba2d75bf7
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Thu Sep 06 09:33:59 2012 +0200
Changed test annotations, updated tests, updated Makefile.
diffstat:
ChangeLog | 22 +++
Makefile | 4 +
src/org/gfxtest/framework/annotations/GraphicsPrimitives.java | 15 +-
src/org/gfxtest/framework/annotations/PathVariant.java | 57 +++++++
src/org/gfxtest/framework/annotations/PathVariants.java | 73 ++++++++++
src/org/gfxtest/framework/annotations/ShapeVariant.java | 57 +++++++
src/org/gfxtest/framework/annotations/ShapeVariants.java | 61 ++++++++
src/org/gfxtest/testsuites/NormalCubicCurves.java | 3 +-
src/org/gfxtest/testsuites/NormalCubicCurvesAsPaths.java | 3 +-
src/org/gfxtest/testsuites/NormalQuadraticCurves.java | 3 +-
src/org/gfxtest/testsuites/NormalQuadraticCurvesAsPaths.java | 3 +-
src/org/gfxtest/testsuites/PrintTestCubicCurves.java | 5 +-
src/org/gfxtest/testsuites/PrintTestCubicCurvesAsPaths.java | 5 +-
src/org/gfxtest/testsuites/PrintTestLinesAsPaths.java | 5 +-
src/org/gfxtest/testsuites/PrintTestPaths.java | 3 +
src/org/gfxtest/testsuites/PrintTestQuadraticCurves.java | 5 +-
src/org/gfxtest/testsuites/PrintTestQuadraticCurvesAsPaths.java | 5 +-
17 files changed, 310 insertions(+), 19 deletions(-)
diffs (truncated from 519 to 500 lines):
diff -r cab54d813cdb -r 15eba2d75bf7 ChangeLog
--- a/ChangeLog Wed Sep 05 10:48:28 2012 +0200
+++ b/ChangeLog Thu Sep 06 09:33:59 2012 +0200
@@ -1,3 +1,25 @@
+2012-09-06 Pavel Tisnovsky <ptisnovs at redhat.com>
+
+ * src/org/gfxtest/framework/annotations/GraphicsPrimitives.java:
+ Removed unused annotation types.
+ * src/org/gfxtest/framework/annotations/PathVariant.java:
+ * src/org/gfxtest/framework/annotations/PathVariants.java:
+ * src/org/gfxtest/framework/annotations/ShapeVariant.java:
+ * src/org/gfxtest/framework/annotations/ShapeVariants.java:
+ Added new annotations for gfx. tests.
+ * src/org/gfxtest/testsuites/NormalCubicCurves.java:
+ * src/org/gfxtest/testsuites/NormalCubicCurvesAsPaths.java:
+ * src/org/gfxtest/testsuites/NormalQuadraticCurves.java:
+ * src/org/gfxtest/testsuites/NormalQuadraticCurvesAsPaths.java:
+ * src/org/gfxtest/testsuites/PrintTestCubicCurves.java:
+ * src/org/gfxtest/testsuites/PrintTestCubicCurvesAsPaths.java:
+ * src/org/gfxtest/testsuites/PrintTestLinesAsPaths.java:
+ * src/org/gfxtest/testsuites/PrintTestPaths.java:
+ * src/org/gfxtest/testsuites/PrintTestQuadraticCurves.java:
+ * src/org/gfxtest/testsuites/PrintTestQuadraticCurvesAsPaths.java:
+ Updated tests according to changes in test annotations.
+ * Makefile: Added new classes to compile.
+
2012-09-05 Pavel Tisnovsky <ptisnovs at redhat.com>
* src/org/gfxtest/testsuites/PrintTestQuadraticCurves.java:
diff -r cab54d813cdb -r 15eba2d75bf7 Makefile
--- a/Makefile Wed Sep 05 10:48:28 2012 +0200
+++ b/Makefile Thu Sep 06 09:33:59 2012 +0200
@@ -76,6 +76,10 @@
$(CLASSES)/$(FRAMEWORK_DIR)/annotations/TestType.class \
$(CLASSES)/$(FRAMEWORK_DIR)/annotations/Transformations.class \
$(CLASSES)/$(FRAMEWORK_DIR)/annotations/Transformation.class \
+ $(CLASSES)/$(FRAMEWORK_DIR)/annotations/PathVariant.class \
+ $(CLASSES)/$(FRAMEWORK_DIR)/annotations/PathVariants.class \
+ $(CLASSES)/$(FRAMEWORK_DIR)/annotations/ShapeVariant.class \
+ $(CLASSES)/$(FRAMEWORK_DIR)/annotations/ShapeVariants.class \
$(CLASSES)/$(FRAMEWORK_DIR)/annotations/Zoom.class \
$(CLASSES)/$(FRAMEWORK_DIR)/ColorPalette.class \
$(CLASSES)/$(FRAMEWORK_DIR)/GrayscalePalette.class \
diff -r cab54d813cdb -r 15eba2d75bf7 src/org/gfxtest/framework/annotations/GraphicsPrimitives.java
--- a/src/org/gfxtest/framework/annotations/GraphicsPrimitives.java Wed Sep 05 10:48:28 2012 +0200
+++ b/src/org/gfxtest/framework/annotations/GraphicsPrimitives.java Thu Sep 06 09:33:59 2012 +0200
@@ -103,21 +103,16 @@
ELLIPSE,
/**
- * Quadratic parametric curve segment in (x, y) coordinate space.
- */
- QUADRATIC_CURVE,
-
- /**
- * Cubic parametric curve segment in (x, y) coordinate space.
- */
- CUBIC_CURVE,
-
- /**
* Generic path consisting of line segments, quadratic curves and cubic curves.
*/
PATH,
/**
+ * Generic shape consisting of line segment, quadratic curve, cubic curve etc.
+ */
+ SHAPE,
+
+ /**
* Generic area, ie. closed shape.
*/
AREA,
diff -r cab54d813cdb -r 15eba2d75bf7 src/org/gfxtest/framework/annotations/PathVariant.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/gfxtest/framework/annotations/PathVariant.java Thu Sep 06 09:33:59 2012 +0200
@@ -0,0 +1,57 @@
+/*
+ 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.framework.annotations;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * Declaration of interface used to specify graphics path type for each test
+ * suite based on rendering Path2D.
+ * @see PathPrimitives
+ *
+ * @author Pavel Tisnovsky
+ */
+ at Retention(RetentionPolicy.RUNTIME)
+public @interface PathVariant
+{
+ PathVariants value();
+}
diff -r cab54d813cdb -r 15eba2d75bf7 src/org/gfxtest/framework/annotations/PathVariants.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/gfxtest/framework/annotations/PathVariants.java Thu Sep 06 09:33:59 2012 +0200
@@ -0,0 +1,73 @@
+/*
+ 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.framework.annotations;
+
+
+
+/**
+ * Names of path variants used for annotation of test suite which
+ * uses Path2D.
+ * @see PathVariant
+ *
+ * @author Pavel Tisnovsky
+ */
+public enum PathVariants
+{
+ /**
+ * Line segment in (x, y) coordinate space.
+ */
+ LINE,
+
+ /**
+ * Quadratic parametric curve segment in (x, y) coordinate space.
+ */
+ QUADRATIC_CURVE,
+
+ /**
+ * Cubic parametric curve segment in (x, y) coordinate space.
+ */
+ CUBIC_CURVE,
+
+ /**
+ * Various path segments
+ */
+ VARIOUS
+}
diff -r cab54d813cdb -r 15eba2d75bf7 src/org/gfxtest/framework/annotations/ShapeVariant.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/gfxtest/framework/annotations/ShapeVariant.java Thu Sep 06 09:33:59 2012 +0200
@@ -0,0 +1,57 @@
+/*
+ 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.framework.annotations;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * Declaration of interface used to specify graphics path type for each test
+ * suite based on rendering Path2D.
+ * @see ShapeVariants
+ *
+ * @author Pavel Tisnovsky
+ */
+ at Retention(RetentionPolicy.RUNTIME)
+public @interface ShapeVariant
+{
+ ShapeVariants value();
+}
diff -r cab54d813cdb -r 15eba2d75bf7 src/org/gfxtest/framework/annotations/ShapeVariants.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/gfxtest/framework/annotations/ShapeVariants.java Thu Sep 06 09:33:59 2012 +0200
@@ -0,0 +1,61 @@
+/*
+ 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.framework.annotations;
+
+/**
+ * Names of path variants used for annotation of test suite which
+ * uses Shape.
+ * @see ShapeVariant
+ *
+ * @author Pavel Tisnovsky
+ */
+public enum ShapeVariants
+{
+ /**
+ * Quadratic parametric curve segment in (x, y) coordinate space.
+ */
+ QUADRATIC_CURVE,
+
+ /**
+ * Cubic parametric curve segment in (x, y) coordinate space.
+ */
+ CUBIC_CURVE,
+}
diff -r cab54d813cdb -r 15eba2d75bf7 src/org/gfxtest/testsuites/NormalCubicCurves.java
--- a/src/org/gfxtest/testsuites/NormalCubicCurves.java Wed Sep 05 10:48:28 2012 +0200
+++ b/src/org/gfxtest/testsuites/NormalCubicCurves.java Thu Sep 06 09:33:59 2012 +0200
@@ -57,7 +57,8 @@
* @author Pavel Tisnovsky
*/
@TestType(TestTypes.RENDER_TEST)
- at GraphicsPrimitive(GraphicsPrimitives.CUBIC_CURVE)
+ at GraphicsPrimitive(GraphicsPrimitives.SHAPE)
+ at ShapeVariant(ShapeVariants.CUBIC_CURVE)
@RenderStyle(RenderStyles.NORMAL)
@Transformation(Transformations.NONE)
@Zoom(1)
diff -r cab54d813cdb -r 15eba2d75bf7 src/org/gfxtest/testsuites/NormalCubicCurvesAsPaths.java
--- a/src/org/gfxtest/testsuites/NormalCubicCurvesAsPaths.java Wed Sep 05 10:48:28 2012 +0200
+++ b/src/org/gfxtest/testsuites/NormalCubicCurvesAsPaths.java Thu Sep 06 09:33:59 2012 +0200
@@ -57,7 +57,8 @@
* @author Pavel Tisnovsky
*/
@TestType(TestTypes.RENDER_TEST)
- at GraphicsPrimitive(GraphicsPrimitives.CUBIC_CURVE)
+ at GraphicsPrimitive(GraphicsPrimitives.PATH)
+ at PathVariant(PathVariants.CUBIC_CURVE)
@RenderStyle(RenderStyles.NORMAL)
@Transformation(Transformations.NONE)
@Zoom(1)
diff -r cab54d813cdb -r 15eba2d75bf7 src/org/gfxtest/testsuites/NormalQuadraticCurves.java
--- a/src/org/gfxtest/testsuites/NormalQuadraticCurves.java Wed Sep 05 10:48:28 2012 +0200
+++ b/src/org/gfxtest/testsuites/NormalQuadraticCurves.java Thu Sep 06 09:33:59 2012 +0200
@@ -58,7 +58,8 @@
* @author Pavel Tisnovsky
*/
@TestType(TestTypes.RENDER_TEST)
- at GraphicsPrimitive(GraphicsPrimitives.QUADRATIC_CURVE)
+ at GraphicsPrimitive(GraphicsPrimitives.SHAPE)
+ at ShapeVariant(ShapeVariants.QUADRATIC_CURVE)
@RenderStyle(RenderStyles.NORMAL)
@Transformation(Transformations.NONE)
@Zoom(1)
diff -r cab54d813cdb -r 15eba2d75bf7 src/org/gfxtest/testsuites/NormalQuadraticCurvesAsPaths.java
--- a/src/org/gfxtest/testsuites/NormalQuadraticCurvesAsPaths.java Wed Sep 05 10:48:28 2012 +0200
+++ b/src/org/gfxtest/testsuites/NormalQuadraticCurvesAsPaths.java Thu Sep 06 09:33:59 2012 +0200
@@ -57,7 +57,8 @@
* @author Pavel Tisnovsky
*/
@TestType(TestTypes.RENDER_TEST)
- at GraphicsPrimitive(GraphicsPrimitives.QUADRATIC_CURVE)
+ at GraphicsPrimitive(GraphicsPrimitives.PATH)
+ at PathVariant(PathVariants.QUADRATIC_CURVE)
@RenderStyle(RenderStyles.NORMAL)
@Transformation(Transformations.NONE)
@Zoom(1)
diff -r cab54d813cdb -r 15eba2d75bf7 src/org/gfxtest/testsuites/PrintTestCubicCurves.java
--- a/src/org/gfxtest/testsuites/PrintTestCubicCurves.java Wed Sep 05 10:48:28 2012 +0200
+++ b/src/org/gfxtest/testsuites/PrintTestCubicCurves.java Thu Sep 06 09:33:59 2012 +0200
@@ -58,6 +58,8 @@
import org.gfxtest.framework.annotations.GraphicsPrimitives;
import org.gfxtest.framework.annotations.RenderStyle;
import org.gfxtest.framework.annotations.RenderStyles;
+import org.gfxtest.framework.annotations.ShapeVariant;
+import org.gfxtest.framework.annotations.ShapeVariants;
import org.gfxtest.framework.annotations.TestType;
import org.gfxtest.framework.annotations.TestTypes;
import org.gfxtest.framework.annotations.Transformation;
@@ -70,7 +72,8 @@
* @author Pavel Tisnovsky
*/
@TestType(TestTypes.PRINT_TEST)
- at GraphicsPrimitive(GraphicsPrimitives.CUBIC_CURVE)
+ at GraphicsPrimitive(GraphicsPrimitives.SHAPE)
+ at ShapeVariant(ShapeVariants.CUBIC_CURVE)
@RenderStyle(RenderStyles.NORMAL)
@Transformation(Transformations.NONE)
@Zoom(1)
diff -r cab54d813cdb -r 15eba2d75bf7 src/org/gfxtest/testsuites/PrintTestCubicCurvesAsPaths.java
--- a/src/org/gfxtest/testsuites/PrintTestCubicCurvesAsPaths.java Wed Sep 05 10:48:28 2012 +0200
+++ b/src/org/gfxtest/testsuites/PrintTestCubicCurvesAsPaths.java Thu Sep 06 09:33:59 2012 +0200
@@ -55,6 +55,8 @@
import org.gfxtest.framework.TestResult;
import org.gfxtest.framework.annotations.GraphicsPrimitive;
import org.gfxtest.framework.annotations.GraphicsPrimitives;
+import org.gfxtest.framework.annotations.PathVariant;
+import org.gfxtest.framework.annotations.PathVariants;
import org.gfxtest.framework.annotations.RenderStyle;
import org.gfxtest.framework.annotations.RenderStyles;
import org.gfxtest.framework.annotations.TestType;
@@ -72,7 +74,8 @@
* @author Pavel Tisnovsky
*/
@TestType(TestTypes.PRINT_TEST)
- at GraphicsPrimitive(GraphicsPrimitives.CUBIC_CURVE)
+ at GraphicsPrimitive(GraphicsPrimitives.PATH)
+ at PathVariant(PathVariants.CUBIC_CURVE)
@RenderStyle(RenderStyles.NORMAL)
@Transformation(Transformations.NONE)
@Zoom(1)
diff -r cab54d813cdb -r 15eba2d75bf7 src/org/gfxtest/testsuites/PrintTestLinesAsPaths.java
--- a/src/org/gfxtest/testsuites/PrintTestLinesAsPaths.java Wed Sep 05 10:48:28 2012 +0200
+++ b/src/org/gfxtest/testsuites/PrintTestLinesAsPaths.java Thu Sep 06 09:33:59 2012 +0200
@@ -56,6 +56,8 @@
import org.gfxtest.framework.TestResult;
import org.gfxtest.framework.annotations.GraphicsPrimitive;
import org.gfxtest.framework.annotations.GraphicsPrimitives;
+import org.gfxtest.framework.annotations.PathVariant;
+import org.gfxtest.framework.annotations.PathVariants;
import org.gfxtest.framework.annotations.RenderStyle;
import org.gfxtest.framework.annotations.RenderStyles;
import org.gfxtest.framework.annotations.TestType;
@@ -73,7 +75,8 @@
* @author Pavel Tisnovsky
*/
@TestType(TestTypes.PRINT_TEST)
- at GraphicsPrimitive(GraphicsPrimitives.LINE)
+ at GraphicsPrimitive(GraphicsPrimitives.PATH)
+ at PathVariant(PathVariants.LINE)
@RenderStyle(RenderStyles.NORMAL)
@Transformation(Transformations.NONE)
@Zoom(1)
diff -r cab54d813cdb -r 15eba2d75bf7 src/org/gfxtest/testsuites/PrintTestPaths.java
--- a/src/org/gfxtest/testsuites/PrintTestPaths.java Wed Sep 05 10:48:28 2012 +0200
+++ b/src/org/gfxtest/testsuites/PrintTestPaths.java Thu Sep 06 09:33:59 2012 +0200
@@ -55,6 +55,8 @@
import org.gfxtest.framework.TestResult;
import org.gfxtest.framework.annotations.GraphicsPrimitive;
import org.gfxtest.framework.annotations.GraphicsPrimitives;
+import org.gfxtest.framework.annotations.PathVariant;
+import org.gfxtest.framework.annotations.PathVariants;
import org.gfxtest.framework.annotations.RenderStyle;
import org.gfxtest.framework.annotations.RenderStyles;
import org.gfxtest.framework.annotations.TestType;
@@ -72,6 +74,7 @@
*/
@TestType(TestTypes.PRINT_TEST)
@GraphicsPrimitive(GraphicsPrimitives.PATH)
+ at PathVariant(PathVariants.VARIOUS)
@RenderStyle(RenderStyles.NORMAL)
@Transformation(Transformations.NONE)
@Zoom(1)
diff -r cab54d813cdb -r 15eba2d75bf7 src/org/gfxtest/testsuites/PrintTestQuadraticCurves.java
--- a/src/org/gfxtest/testsuites/PrintTestQuadraticCurves.java Wed Sep 05 10:48:28 2012 +0200
+++ b/src/org/gfxtest/testsuites/PrintTestQuadraticCurves.java Thu Sep 06 09:33:59 2012 +0200
@@ -53,6 +53,8 @@
import org.gfxtest.framework.annotations.GraphicsPrimitives;
import org.gfxtest.framework.annotations.RenderStyle;
import org.gfxtest.framework.annotations.RenderStyles;
+import org.gfxtest.framework.annotations.ShapeVariant;
+import org.gfxtest.framework.annotations.ShapeVariants;
import org.gfxtest.framework.annotations.TestType;
import org.gfxtest.framework.annotations.TestTypes;
import org.gfxtest.framework.annotations.Transformation;
@@ -67,7 +69,8 @@
* @author Pavel Tisnovsky
*/
@TestType(TestTypes.PRINT_TEST)
- at GraphicsPrimitive(GraphicsPrimitives.QUADRATIC_CURVE)
+ at GraphicsPrimitive(GraphicsPrimitives.SHAPE)
+ at ShapeVariant(ShapeVariants.QUADRATIC_CURVE)
@RenderStyle(RenderStyles.NORMAL)
@Transformation(Transformations.NONE)
@Zoom(1)
diff -r cab54d813cdb -r 15eba2d75bf7 src/org/gfxtest/testsuites/PrintTestQuadraticCurvesAsPaths.java
--- a/src/org/gfxtest/testsuites/PrintTestQuadraticCurvesAsPaths.java Wed Sep 05 10:48:28 2012 +0200
+++ b/src/org/gfxtest/testsuites/PrintTestQuadraticCurvesAsPaths.java Thu Sep 06 09:33:59 2012 +0200
More information about the distro-pkg-dev
mailing list