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

ptisnovs at icedtea.classpath.org ptisnovs at icedtea.classpath.org
Mon Apr 15 01:51:24 PDT 2013


changeset 333cbb14438b in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=333cbb14438b
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Mon Apr 15 10:54:43 2013 +0200

	Eight new tests added into BitBltConvolveOp test suite.


diffstat:

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

diffs (134 lines):

diff -r 010bd56c0282 -r 333cbb14438b ChangeLog
--- a/ChangeLog	Thu Apr 11 11:33:40 2013 +0200
+++ b/ChangeLog	Mon Apr 15 10:54:43 2013 +0200
@@ -1,3 +1,8 @@
+2013-04-15  Pavel Tisnovsky  <ptisnovs at redhat.com>
+
+	* src/org/gfxtest/testsuites/BitBltConvolveOp.java:
+	Eight new tests added into BitBltConvolveOp test suite.
+
 2013-04-11  Pavel Tisnovsky  <ptisnovs at redhat.com>
 
 	* src/org/gfxtest/framework/CommonBitmapOperations.java:
diff -r 010bd56c0282 -r 333cbb14438b src/org/gfxtest/testsuites/BitBltConvolveOp.java
--- a/src/org/gfxtest/testsuites/BitBltConvolveOp.java	Thu Apr 11 11:33:40 2013 +0200
+++ b/src/org/gfxtest/testsuites/BitBltConvolveOp.java	Mon Apr 15 10:54:43 2013 +0200
@@ -357,6 +357,118 @@
     }
 
     /**
+     * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
+     *
+     * @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 testBitBltGridBufferedImageType3ByteBGRbackgroundNoOpROP(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltGridBufferedImageType3ByteRGB(image, graphics2d, noopROP);
+    }
+
+    /**
+     * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
+     *
+     * @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 testBitBltGridBufferedImageType3ByteBGRbackgroundSmoothingKernel2x2ROP(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltGridBufferedImageType3ByteRGB(image, graphics2d, smoothingKernel2x2ROP);
+    }
+
+    /**
+     * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
+     *
+     * @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 testBitBltGridBufferedImageType3ByteBGRbackgroundSmoothingKernel3x3ROP(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltGridBufferedImageType3ByteRGB(image, graphics2d, smoothingKernel3x3ROP);
+    }
+
+    /**
+     * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
+     *
+     * @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 testBitBltGridBufferedImageType3ByteBGRbackgroundSmoothingKernel5x5ROP(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltGridBufferedImageType3ByteRGB(image, graphics2d, smoothingKernel5x5ROP);
+    }
+
+    /**
+     * Test basic BitBlt operation for diagonal grid buffered image with type TYPE_3BYTE_BGR.
+     *
+     * @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 testBitBltDiagonalGridBufferedImageType3ByteBGRbackgroundNoOpROP(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltDiagonalGridBufferedImageType3ByteRGB(image, graphics2d, noopROP);
+    }
+
+    /**
+     * Test basic BitBlt operation for diagonal grid buffered image with type TYPE_3BYTE_BGR.
+     *
+     * @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 testBitBltDiagonalGridBufferedImageType3ByteBGRbackgroundSmoothingKernel2x2ROP(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltDiagonalGridBufferedImageType3ByteRGB(image, graphics2d, smoothingKernel2x2ROP);
+    }
+
+    /**
+     * Test basic BitBlt operation for diagonal grid buffered image with type TYPE_3BYTE_BGR.
+     *
+     * @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 testBitBltDiagonalGridBufferedImageType3ByteBGRbackgroundSmoothingKernel3x3ROP(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltDiagonalGridBufferedImageType3ByteRGB(image, graphics2d, smoothingKernel3x3ROP);
+    }
+
+    /**
+     * Test basic BitBlt operation for diagonal grid buffered image with type TYPE_3BYTE_BGR.
+     *
+     * @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 testBitBltDiagonalGridBufferedImageType3ByteBGRbackgroundSmoothingKernel5x5ROP(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltDiagonalGridBufferedImageType3ByteRGB(image, graphics2d, smoothingKernel5x5ROP);
+    }
+
+    /**
      * Entry point to the test suite.
      *
      * @param args not used in this case



More information about the distro-pkg-dev mailing list