changeset 486:0c79e2cd45c7 draft

Two new tests added into BitBltAffineQuadrantRotateTransformOp.java
author Pavel Tisnovsky <ptisnovs@redhat.com>
date Thu, 21 Nov 2013 09:21:51 +0100
parents 0bce5c917147
children c446518578d9
files ChangeLog src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java
diffstat 2 files changed, 33 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Nov 20 09:55:53 2013 +0100
+++ b/ChangeLog	Thu Nov 21 09:21:51 2013 +0100
@@ -1,3 +1,8 @@
+2013-11-21  Pavel Tisnovsky  <ptisnovs@redhat.com>
+
+	* src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java:
+	Two new tests added into BitBltAffineQuadrantRotateTransformOp.java
+
 2013-11-20  Pavel Tisnovsky  <ptisnovs@redhat.com>
 
 	* src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java:
--- a/src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java	Wed Nov 20 09:55:53 2013 +0100
+++ b/src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java	Thu Nov 21 09:21:51 2013 +0100
@@ -1257,6 +1257,34 @@
     }
 
     /**
+     * Test basic BitBlt operation for checker buffered image with type TYPE_USHORT_GRAY.
+     *
+     * @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 testBitBltCheckerBufferedImageTypeUshortGrayRotateTransformation4Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltCheckerBufferedImageTypeUshortGray(image, graphics2d, RotateTransformationNearest1Op[4]);
+    }
+
+    /**
+      Test basic BitBlt operation for checker buffered image with type TYPE_USHORT_GRAY.
+     *
+     * @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 testBitBltCheckerBufferedImageTypeUshortGrayRotateTransformation5Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltCheckerBufferedImageTypeUshortGray(image, graphics2d, RotateTransformationNearest1Op[5]);
+    }
+
+    /**
      * Entry point to the test suite.
      *
      * @param args not used in this case