/hg/gfx-test: Ten new tests added into BitBltAffineIdentityTrans...

ptisnovs at icedtea.classpath.org ptisnovs at icedtea.classpath.org
Wed Sep 18 02:20:36 PDT 2013


changeset ee75bbf712b8 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=ee75bbf712b8
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Wed Sep 18 11:24:24 2013 +0200

	Ten new tests added into BitBltAffineIdentityTransformOp.


diffstat:

 ChangeLog                                                       |    5 +
 src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java |  140 ++++++++++
 2 files changed, 145 insertions(+), 0 deletions(-)

diffs (162 lines):

diff -r ec77c383357b -r ee75bbf712b8 ChangeLog
--- a/ChangeLog	Tue Sep 17 11:35:16 2013 +0200
+++ b/ChangeLog	Wed Sep 18 11:24:24 2013 +0200
@@ -1,3 +1,8 @@
+2013-09-18  Pavel Tisnovsky  <ptisnovs at redhat.com>
+
+	* src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java:
+	Ten new tests added into BitBltAffineIdentityTransformOp.
+
 2013-09-17  Pavel Tisnovsky  <ptisnovs at redhat.com>
 
 	* src/org/gfxtest/testsuites/BitBltUsingBgColor.java:
diff -r ec77c383357b -r ee75bbf712b8 src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java
--- a/src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java	Tue Sep 17 11:35:16 2013 +0200
+++ b/src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java	Wed Sep 18 11:24:24 2013 +0200
@@ -772,6 +772,146 @@
     }
 
     /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_INT_ARGB_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 testBitBltEmptyBufferedImageTypeIntARGBPreIdentifyTranspormationOp1(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeIntARGBPre(image, graphics2d, IdentifyTranspormationOp1);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_INT_ARGB_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 testBitBltEmptyBufferedImageTypeIntARGBPreIdentifyTranspormationOp2(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeIntARGBPre(image, graphics2d, IdentifyTranspormationOp2);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_INT_ARGB_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 testBitBltEmptyBufferedImageTypeIntARGBPreIdentifyTranspormationOp3(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeIntARGBPre(image, graphics2d, IdentifyTranspormationOp3);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_INT_ARGB_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 testBitBltEmptyBufferedImageTypeIntARGBPreIdentifyTranspormationOp4(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeIntARGBPre(image, graphics2d, IdentifyTranspormationOp4);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_INT_ARGB_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 testBitBltEmptyBufferedImageTypeIntARGBPreIdentifyTranspormationOp5(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeIntARGBPre(image, graphics2d, IdentifyTranspormationOp5);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_INT_ARGB_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 testBitBltEmptyBufferedImageTypeIntARGBPreIdentifyTranspormationOp6(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeIntARGBPre(image, graphics2d, IdentifyTranspormationOp6);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_INT_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 testBitBltEmptyBufferedImageTypeIntRGBIdentifyTranspormationOp1(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeIntRGB(image, graphics2d, IdentifyTranspormationOp1);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_INT_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 testBitBltEmptyBufferedImageTypeIntRGBIdentifyTranspormationOp2(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeIntRGB(image, graphics2d, IdentifyTranspormationOp2);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_INT_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 testBitBltEmptyBufferedImageTypeIntRGBIdentifyTranspormationOp3(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeIntRGB(image, graphics2d, IdentifyTranspormationOp3);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type TYPE_INT_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 testBitBltEmptyBufferedImageTypeIntRGBIdentifyTranspormationOp4(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeIntRGB(image, graphics2d, IdentifyTranspormationOp4);
+    }
+
+    /**
      * Test basic BitBlt operation for checker buffered image with type TYPE_3BYTE_BGR.
      *
      * @param image



More information about the distro-pkg-dev mailing list