/hg/gfx-test: Added new annotations to five "BitBlt" tests, fixe...
ptisnovs at icedtea.classpath.org
ptisnovs at icedtea.classpath.org
Tue Sep 11 05:40:49 PDT 2012
changeset ba24a5ebfe08 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=ba24a5ebfe08
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Tue Sep 11 14:43:25 2012 +0200
Added new annotations to five "BitBlt" tests, fixed typo in three
annotation sources.
diffstat:
ChangeLog | 15 ++++++++++++
src/org/gfxtest/framework/annotations/BitBltOperation.java | 2 +-
src/org/gfxtest/framework/annotations/GraphicsPrimitive.java | 1 +
src/org/gfxtest/framework/annotations/RasterOperation.java | 2 +-
src/org/gfxtest/testsuites/BitBltBasicTests.java | 3 ++
src/org/gfxtest/testsuites/BitBltCropImage.java | 5 +++-
src/org/gfxtest/testsuites/BitBltMirrorImage.java | 3 ++
src/org/gfxtest/testsuites/BitBltRotateImage.java | 3 ++
src/org/gfxtest/testsuites/BitBltScaleImage.java | 3 ++
src/org/gfxtest/testsuites/BitBltUsingBgColor.java | 5 +++-
src/org/gfxtest/testsuites/PrintTestBitBlt.java | 3 ++
11 files changed, 41 insertions(+), 4 deletions(-)
diffs (197 lines):
diff -r da233eec72ee -r ba24a5ebfe08 ChangeLog
--- a/ChangeLog Mon Sep 10 09:34:44 2012 +0200
+++ b/ChangeLog Tue Sep 11 14:43:25 2012 +0200
@@ -1,3 +1,18 @@
+2012-09-11 Pavel Tisnovsky <ptisnovs at redhat.com>
+
+ * src/org/gfxtest/framework/annotations/BitBltOperation.java:
+ * src/org/gfxtest/framework/annotations/GraphicsPrimitive.java:
+ * src/org/gfxtest/framework/annotations/RasterOperation.java:
+ Fixed typos.
+ * src/org/gfxtest/testsuites/BitBltBasicTests.java:
+ * src/org/gfxtest/testsuites/BitBltCropImage.java:
+ * src/org/gfxtest/testsuites/BitBltMirrorImage.java:
+ * src/org/gfxtest/testsuites/BitBltRotateImage.java:
+ * src/org/gfxtest/testsuites/BitBltScaleImage.java:
+ * src/org/gfxtest/testsuites/BitBltUsingBgColor.java:
+ * src/org/gfxtest/testsuites/PrintTestBitBlt.java:
+ Added new annotations to these tests.
+
2012-09-10 Pavel Tisnovsky <ptisnovs at redhat.com>
* src/org/gfxtest/framework/GfxTest.java:
diff -r da233eec72ee -r ba24a5ebfe08 src/org/gfxtest/framework/annotations/BitBltOperation.java
--- a/src/org/gfxtest/framework/annotations/BitBltOperation.java Mon Sep 10 09:34:44 2012 +0200
+++ b/src/org/gfxtest/framework/annotations/BitBltOperation.java Tue Sep 11 14:43:25 2012 +0200
@@ -56,5 +56,5 @@
@Retention(RetentionPolicy.RUNTIME)
public @interface BitBltOperation
{
- BitBltOperations values();
+ BitBltOperations value();
}
diff -r da233eec72ee -r ba24a5ebfe08 src/org/gfxtest/framework/annotations/GraphicsPrimitive.java
--- a/src/org/gfxtest/framework/annotations/GraphicsPrimitive.java Mon Sep 10 09:34:44 2012 +0200
+++ b/src/org/gfxtest/framework/annotations/GraphicsPrimitive.java Tue Sep 11 14:43:25 2012 +0200
@@ -48,6 +48,7 @@
/**
* Declaration of interface used to specify graphics primitive for each test
* suite.
+ *
* @see GraphicsPrimitives
*
* @author Pavel Tisnovsky
diff -r da233eec72ee -r ba24a5ebfe08 src/org/gfxtest/framework/annotations/RasterOperation.java
--- a/src/org/gfxtest/framework/annotations/RasterOperation.java Mon Sep 10 09:34:44 2012 +0200
+++ b/src/org/gfxtest/framework/annotations/RasterOperation.java Tue Sep 11 14:43:25 2012 +0200
@@ -56,5 +56,5 @@
@Retention(RetentionPolicy.RUNTIME)
public @interface RasterOperation
{
- RasterOperations values();
+ RasterOperations value();
}
diff -r da233eec72ee -r ba24a5ebfe08 src/org/gfxtest/testsuites/BitBltBasicTests.java
--- a/src/org/gfxtest/testsuites/BitBltBasicTests.java Mon Sep 10 09:34:44 2012 +0200
+++ b/src/org/gfxtest/testsuites/BitBltBasicTests.java Tue Sep 11 14:43:25 2012 +0200
@@ -48,6 +48,8 @@
import org.gfxtest.framework.CommonBitmapOperations;
import org.gfxtest.framework.GfxTest;
import org.gfxtest.framework.TestImage;
+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;
@@ -70,6 +72,7 @@
@TestType(TestTypes.RENDER_TEST)
@GraphicsPrimitive(GraphicsPrimitives.COMMON_BITMAP)
@RenderStyle(RenderStyles.NORMAL)
+ at BitBltOperation(BitBltOperations.BITBLT)
@Transformation(Transformations.NONE)
@Zoom(1)
public class BitBltBasicTests extends GfxTest
diff -r da233eec72ee -r ba24a5ebfe08 src/org/gfxtest/testsuites/BitBltCropImage.java
--- a/src/org/gfxtest/testsuites/BitBltCropImage.java Mon Sep 10 09:34:44 2012 +0200
+++ b/src/org/gfxtest/testsuites/BitBltCropImage.java Tue Sep 11 14:43:25 2012 +0200
@@ -41,6 +41,8 @@
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;
@@ -62,7 +64,8 @@
*/
@TestType(TestTypes.RENDER_TEST)
@GraphicsPrimitive(GraphicsPrimitives.COMMON_BITMAP)
- at RenderStyle(RenderStyles.NORMAL_AA)
+ at RenderStyle(RenderStyles.NORMAL)
+ at BitBltOperation(BitBltOperations.CROP)
@Transformation(Transformations.NONE)
@Zoom(1)
public class BitBltCropImage extends GfxTest
diff -r da233eec72ee -r ba24a5ebfe08 src/org/gfxtest/testsuites/BitBltMirrorImage.java
--- a/src/org/gfxtest/testsuites/BitBltMirrorImage.java Mon Sep 10 09:34:44 2012 +0200
+++ b/src/org/gfxtest/testsuites/BitBltMirrorImage.java Tue Sep 11 14:43:25 2012 +0200
@@ -49,6 +49,8 @@
import org.gfxtest.framework.GfxTest;
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;
@@ -71,6 +73,7 @@
@TestType(TestTypes.RENDER_TEST)
@GraphicsPrimitive(GraphicsPrimitives.COMMON_BITMAP)
@RenderStyle(RenderStyles.NORMAL)
+ at BitBltOperation(BitBltOperations.MIRROR)
@Transformation(Transformations.MIRROR)
@Zoom(1)
public class BitBltMirrorImage extends GfxTest
diff -r da233eec72ee -r ba24a5ebfe08 src/org/gfxtest/testsuites/BitBltRotateImage.java
--- a/src/org/gfxtest/testsuites/BitBltRotateImage.java Mon Sep 10 09:34:44 2012 +0200
+++ b/src/org/gfxtest/testsuites/BitBltRotateImage.java Tue Sep 11 14:43:25 2012 +0200
@@ -41,6 +41,8 @@
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;
@@ -63,6 +65,7 @@
@TestType(TestTypes.RENDER_TEST)
@GraphicsPrimitive(GraphicsPrimitives.COMMON_BITMAP)
@RenderStyle(RenderStyles.NORMAL)
+ at BitBltOperation(BitBltOperations.ROTATE)
@Transformation(Transformations.ROTATION)
@Zoom(1)
public class BitBltRotateImage extends GfxTest
diff -r da233eec72ee -r ba24a5ebfe08 src/org/gfxtest/testsuites/BitBltScaleImage.java
--- a/src/org/gfxtest/testsuites/BitBltScaleImage.java Mon Sep 10 09:34:44 2012 +0200
+++ b/src/org/gfxtest/testsuites/BitBltScaleImage.java Tue Sep 11 14:43:25 2012 +0200
@@ -49,6 +49,8 @@
import org.gfxtest.framework.GfxTest;
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;
@@ -71,6 +73,7 @@
@TestType(TestTypes.RENDER_TEST)
@GraphicsPrimitive(GraphicsPrimitives.COMMON_BITMAP)
@RenderStyle(RenderStyles.NORMAL)
+ at BitBltOperation(BitBltOperations.SCALE)
@Transformation(Transformations.SCALE)
@Zoom(1)
public class BitBltScaleImage extends GfxTest
diff -r da233eec72ee -r ba24a5ebfe08 src/org/gfxtest/testsuites/BitBltUsingBgColor.java
--- a/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Mon Sep 10 09:34:44 2012 +0200
+++ b/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Tue Sep 11 14:43:25 2012 +0200
@@ -41,6 +41,8 @@
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;
@@ -63,7 +65,8 @@
*/
@TestType(TestTypes.RENDER_TEST)
@GraphicsPrimitive(GraphicsPrimitives.COMMON_BITMAP)
- at RenderStyle(RenderStyles.NORMAL_AA)
+ at RenderStyle(RenderStyles.NORMAL)
+ at BitBltOperation(BitBltOperations.BITBLT)
@Transformation(Transformations.NONE)
@Zoom(1)
public class BitBltUsingBgColor extends GfxTest
diff -r da233eec72ee -r ba24a5ebfe08 src/org/gfxtest/testsuites/PrintTestBitBlt.java
--- a/src/org/gfxtest/testsuites/PrintTestBitBlt.java Mon Sep 10 09:34:44 2012 +0200
+++ b/src/org/gfxtest/testsuites/PrintTestBitBlt.java Tue Sep 11 14:43:25 2012 +0200
@@ -49,6 +49,8 @@
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;
@@ -70,6 +72,7 @@
@TestType(TestTypes.PRINT_TEST)
@GraphicsPrimitive(GraphicsPrimitives.COMMON_BITMAP)
@RenderStyle(RenderStyles.NORMAL)
+ at BitBltOperation(BitBltOperations.BITBLT)
@Transformation(Transformations.NONE)
@Zoom(1)
public class PrintTestBitBlt extends PrintTest
More information about the distro-pkg-dev
mailing list