changeset 815:93f935b8bb37 draft

Six new tests added into BitBltConvolveOp.
author Pavel Tisnovsky <ptisnovs@redhat.com>
date Tue, 05 Apr 2016 10:59:38 +0200
parents e299d6ba28dc
children 287a10068e05
files ChangeLog src/org/gfxtest/testsuites/BitBltConvolveOp.java
diffstat 2 files changed, 89 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Apr 04 11:38:13 2016 +0200
+++ b/ChangeLog	Tue Apr 05 10:59:38 2016 +0200
@@ -1,3 +1,8 @@
+2016-04-05  Pavel Tisnovsky  <ptisnovs@redhat.com>
+
+	* src/org/gfxtest/testsuites/BitBltConvolveOp.java:
+	Six new tests added into BitBltConvolveOp.
+
 2016-04-04  Pavel Tisnovsky  <ptisnovs@redhat.com>
 
 	* src/org/gfxtest/testsuites/BitBltConvolveOp.java:
--- a/src/org/gfxtest/testsuites/BitBltConvolveOp.java	Mon Apr 04 11:38:13 2016 +0200
+++ b/src/org/gfxtest/testsuites/BitBltConvolveOp.java	Tue Apr 05 10:59:38 2016 +0200
@@ -152,6 +152,90 @@
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
      */
+    public TestResult testBitBltEmptyBufferedImageTypeByteBinaryBackgroundNoOpKernel1x1ROP(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeByteBinary(image, graphics2d, noopKernel1x1ROP);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type {@link BufferedImage#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 testBitBltEmptyBufferedImageTypeByteBinaryBackgroundNoOpKernel3x3ROP(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeByteBinary(image, graphics2d, noopKernel3x3ROP);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type {@link BufferedImage#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 testBitBltEmptyBufferedImageTypeByteBinaryBackgroundNoOpKernel5x5ROP(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeByteBinary(image, graphics2d, noopKernel5x5ROP);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type {@link BufferedImage#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 testBitBltEmptyBufferedImageTypeByteBinaryBackgroundSmoothingKernel2x2ROP(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeByteBinary(image, graphics2d, smoothingKernel2x2ROP);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type {@link BufferedImage#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 testBitBltEmptyBufferedImageTypeByteBinaryBackgroundSmoothingKernel2x23x3ROP(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeByteBinary(image, graphics2d, smoothingKernel3x3ROP);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type {@link BufferedImage#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 testBitBltEmptyBufferedImageTypeByteBinaryBackgroundSmoothingKernel2x25x5ROP(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltEmptyBufferedImageTypeByteBinary(image, graphics2d, smoothingKernel5x5ROP);
+    }
+
+    /**
+     * Test basic BitBlt operation for empty buffered image with type {@link BufferedImage#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 testBitBltEmptyBufferedImageType3ByteBGRbackgroundNoOpKernel1x1ROP(TestImage image, Graphics2D graphics2d)
     {
         return doBitBltEmptyBufferedImageType3ByteRGB(image, graphics2d, noopKernel1x1ROP);