/hg/gfx-test: Seven new tests added into BitBltAffineRotateTrans...

ptisnovs at icedtea.classpath.org ptisnovs at icedtea.classpath.org
Fri Sep 13 01:38:31 PDT 2013


changeset 9ecd13f7000e in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=9ecd13f7000e
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Fri Sep 13 10:42:14 2013 +0200

	Seven new tests added into BitBltAffineRotateTransformOp.


diffstat:

 ChangeLog                                                     |   5 +
 src/org/gfxtest/testsuites/BitBltAffineRotateTransformOp.java |  98 +++++++++++
 2 files changed, 103 insertions(+), 0 deletions(-)

diffs (120 lines):

diff -r 7db4f8532b55 -r 9ecd13f7000e ChangeLog
--- a/ChangeLog	Thu Sep 12 11:21:03 2013 +0200
+++ b/ChangeLog	Fri Sep 13 10:42:14 2013 +0200
@@ -1,3 +1,8 @@
+2013-09-13  Pavel Tisnovsky  <ptisnovs at redhat.com>
+
+	* src/org/gfxtest/testsuites/BitBltAffineRotateTransformOp.java:
+	Seven new tests added into BitBltAffineRotateTransformOp.
+
 2013-09-12  Pavel Tisnovsky  <ptisnovs at redhat.com>
 
 	* src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java:
diff -r 7db4f8532b55 -r 9ecd13f7000e src/org/gfxtest/testsuites/BitBltAffineRotateTransformOp.java
--- a/src/org/gfxtest/testsuites/BitBltAffineRotateTransformOp.java	Thu Sep 12 11:21:03 2013 +0200
+++ b/src/org/gfxtest/testsuites/BitBltAffineRotateTransformOp.java	Fri Sep 13 10:42:14 2013 +0200
@@ -208,6 +208,104 @@
     }
 
     /**
+     * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ARGB.
+     *
+     * @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 testBitBltCheckerBufferedImageType4ByteABGRRotateTransformation0Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltCheckerBufferedImageType3ByteRGB(image, graphics2d, RotateTransformationNearest1Op[0]);
+    }
+
+    /**
+     * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ARGB.
+     *
+     * @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 testBitBltCheckerBufferedImageType4ByteABGRRotateTransformation1Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltCheckerBufferedImageType3ByteRGB(image, graphics2d, RotateTransformationNearest1Op[1]);
+    }
+
+    /**
+     * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ARGB.
+     *
+     * @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 testBitBltCheckerBufferedImageType4ByteABGRRotateTransformation2Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltCheckerBufferedImageType3ByteRGB(image, graphics2d, RotateTransformationNearest1Op[2]);
+    }
+
+    /**
+     * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ARGB.
+     *
+     * @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 testBitBltCheckerBufferedImageType4ByteABGRRotateTransformation3Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltCheckerBufferedImageType3ByteRGB(image, graphics2d, RotateTransformationNearest1Op[3]);
+    }
+
+    /**
+     * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ARGB.
+     *
+     * @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 testBitBltCheckerBufferedImageType4ByteABGRRotateTransformation4Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltCheckerBufferedImageType3ByteRGB(image, graphics2d, RotateTransformationNearest1Op[4]);
+    }
+
+    /**
+     * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ARGB.
+     *
+     * @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 testBitBltCheckerBufferedImageType4ByteABGRRotateTransformation5Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltCheckerBufferedImageType3ByteRGB(image, graphics2d, RotateTransformationNearest1Op[5]);
+    }
+
+    /**
+     * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ARGB.
+     *
+     * @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 testBitBltCheckerBufferedImageType4ByteABGRRotateTransformation6Nearest1Op(TestImage image, Graphics2D graphics2d)
+    {
+        return doBitBltCheckerBufferedImageType3ByteRGB(image, graphics2d, RotateTransformationNearest1Op[6]);
+    }
+
+    /**
      * Entry point to the test suite.
      *
      * @param args not used in this case



More information about the distro-pkg-dev mailing list