/hg/gfx-test: Eight new tests added into BitBltAffineQuadrantRot...

ptisnovs at icedtea.classpath.org ptisnovs at icedtea.classpath.org
Tue Apr 1 09:40:34 UTC 2014


changeset 026d5f07528c in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=026d5f07528c
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Tue Apr 01 11:41:18 2014 +0200

	Eight new tests added into BitBltAffineQuadrantRotateTransformOp.


diffstat:

 ChangeLog                                                             |    5 +
 src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java |  112 ++++++++++
 2 files changed, 117 insertions(+), 0 deletions(-)

diffs (134 lines):

diff -r ab61c1a09c99 -r 026d5f07528c ChangeLog
--- a/ChangeLog	Fri Mar 28 10:45:48 2014 +0100
+++ b/ChangeLog	Tue Apr 01 11:41:18 2014 +0200
@@ -1,3 +1,8 @@
+2014-04-01  Pavel Tisnovsky  <ptisnovs at redhat.com>
+
+	* src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java:
+	Eight new tests added into BitBltAffineQuadrantRotateTransformOp.
+
 2014-03-28  Pavel Tisnovsky  <ptisnovs at redhat.com>
 
 	* src/org/gfxtest/testsuites/BitBltBasicTests.java:
diff -r ab61c1a09c99 -r 026d5f07528c src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java
--- a/src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java	Fri Mar 28 10:45:48 2014 +0100
+++ b/src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java	Tue Apr 01 11:41:18 2014 +0200
@@ -1173,6 +1173,118 @@
     }
 
     /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_USHORT_565_RGB.
+     *
+     * @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 testBitBltEmptyBufferedImageTypeUshort565RGBRotateTransformation4Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeUshort565RGB(image, graphics2d, RotateTransformationNearest1Op[4]);
+    }
+
+    /**
+      Test basic BitBlt operation for empty buffered image with type TYPE_USHORT_565_RGB.
+     *
+     * @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 testBitBltEmptyBufferedImageTypeUshort565RGBRotateTransformation5Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeUshort565RGB(image, graphics2d, RotateTransformationNearest1Op[5]);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty 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 testBitBltEmptyBufferedImageTypeUshortGrayRotateTransformation0Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeUshortGray(image, graphics2d, RotateTransformationNearest1Op[0]);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty 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 testBitBltEmptyBufferedImageTypeUshortGrayRotateTransformation1Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeUshortGray(image, graphics2d, RotateTransformationNearest1Op[1]);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty 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 testBitBltEmptyBufferedImageTypeUshortGrayRotateTransformation2Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeUshortGray(image, graphics2d, RotateTransformationNearest1Op[2]);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty 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 testBitBltEmptyBufferedImageTypeUshortGrayRotateTransformation3Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeUshortGray(image, graphics2d, RotateTransformationNearest1Op[3]);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty 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 testBitBltEmptyBufferedImageTypeUshortGrayRotateTransformation4Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeUshortGray(image, graphics2d, RotateTransformationNearest1Op[4]);
+    }
+
+    /**
+      Test basic BitBlt operation for empty 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 testBitBltEmptyBufferedImageTypeUshortGrayRotateTransformation5Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeUshortGray(image, graphics2d, RotateTransformationNearest1Op[5]);
+    }
+
+    /**
      * Test basic BitBlt operation for checker buffered image with type TYPE_3BYTE_BGR.
      *
      * @param image


More information about the distro-pkg-dev mailing list