changeset 517:d1faa4ad873b draft

Ten new tests added into BitBltAffineQuadrantRotateTransformOp.java
author Pavel Tisnovsky <ptisnovs@redhat.com>
date Wed, 22 Jan 2014 14:01:05 +0100
parents aa23d4954918
children 48428250e782
files ChangeLog src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java
diffstat 2 files changed, 145 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jan 20 10:17:26 2014 +0100
+++ b/ChangeLog	Wed Jan 22 14:01:05 2014 +0100
@@ -1,3 +1,8 @@
+2014-01-22  Pavel Tisnovsky  <ptisnovs@redhat.com>
+
+	* src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java:
+	Ten new tests added into BitBltAffineQuadrantRotateTransformOp.java
+
 2014-01-18  Pavel Tisnovsky  <ptisnovs@redhat.com>
 
 	* src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java:
--- a/src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java	Mon Jan 20 10:17:26 2014 +0100
+++ b/src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java	Wed Jan 22 14:01:05 2014 +0100
@@ -249,6 +249,146 @@
     }
 
     /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltEmptyBufferedImageType4ByteABGRRotateTransformation4Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageType4ByteABGR(image, graphics2d, RotateTransformationNearest1Op[4]);
+    }
+
+    /**
+      Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltEmptyBufferedImageType4ByteABGRRotateTransformation5Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageType4ByteABGR(image, graphics2d, RotateTransformationNearest1Op[5]);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR_PRE.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltEmptyBufferedImageType4ByteABGRPreRotateTransformation0Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[0]);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR_PRE.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltEmptyBufferedImageType4ByteABGRPreRotateTransformation1Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[1]);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR_PRE.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltEmptyBufferedImageType4ByteABGRPreRotateTransformation2Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[2]);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR_PRE.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltEmptyBufferedImageType4ByteABGRPreRotateTransformation3Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[3]);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR_PRE.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltEmptyBufferedImageType4ByteABGRPreRotateTransformation4Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[4]);
+    }
+
+    /**
+      Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR_PRE.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltEmptyBufferedImageType4ByteABGRPreRotateTransformation5Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[5]);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_BYTE_BINARY.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltEmptyBufferedImageTypeByteBinaryRotateTransformation0Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeByteBinary(image, graphics2d, RotateTransformationNearest1Op[0]);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_BYTE_BINARY.
+     *
+     * @param image
+     *            image used as a destination for BitBlt-type operations
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testBitBltEmptyBufferedImageTypeByteBinaryRotateTransformation1Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeByteBinary(image, graphics2d, RotateTransformationNearest1Op[1]);
+    }
+
+    /**
      * Test basic BitBlt operation for checker buffered image with type TYPE_3BYTE_BGR.
      *
      * @param image