/hg/gfx-test: Six new tests added into BitBltAffineQuadrantRotat...
ptisnovs at icedtea.classpath.org
ptisnovs at icedtea.classpath.org
Thu Sep 12 02:17:20 PDT 2013
changeset 7db4f8532b55 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=7db4f8532b55
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Thu Sep 12 11:21:03 2013 +0200
Six new tests added into BitBltAffineQuadrantRotateTransformOp.
diffstat:
ChangeLog | 5 +
src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java | 87 +++++++++-
2 files changed, 90 insertions(+), 2 deletions(-)
diffs (123 lines):
diff -r bb14fd00b8c6 -r 7db4f8532b55 ChangeLog
--- a/ChangeLog Wed Sep 11 10:45:17 2013 +0200
+++ b/ChangeLog Thu Sep 12 11:21:03 2013 +0200
@@ -1,3 +1,8 @@
+2013-09-12 Pavel Tisnovsky <ptisnovs at redhat.com>
+
+ * src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java:
+ Six new tests added into BitBltAffineQuadrantRotateTransformOp.
+
2013-09-11 Pavel Tisnovsky <ptisnovs at redhat.com>
* src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java:
diff -r bb14fd00b8c6 -r 7db4f8532b55 src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java
--- a/src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java Wed Sep 11 10:45:17 2013 +0200
+++ b/src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java Thu Sep 12 11:21:03 2013 +0200
@@ -44,7 +44,6 @@
import java.awt.RenderingHints;
import java.awt.geom.AffineTransform;
import java.awt.image.AffineTransformOp;
-import java.awt.image.ConvolveOp;
@@ -72,7 +71,7 @@
@Zoom(1)
public class BitBltAffineQuadrantRotateTransformOp extends BitBltAffineTransformOp
{
- private static final int NUM_ROTATIONS = 5;
+ private static final int NUM_ROTATIONS = 6;
private static final AffineTransform RotateTransformation[] = new AffineTransform[NUM_ROTATIONS];
@@ -278,6 +277,90 @@
}
/**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ABGR_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 testBitBltCheckerBufferedImageType4ByteABGRPreRotateTransformation0Nearest1Op(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[0]);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ABGR_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 testBitBltCheckerBufferedImageType4ByteABGRPreRotateTransformation1Nearest1Op(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[1]);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ABGR_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 testBitBltCheckerBufferedImageType4ByteABGRPreRotateTransformation2Nearest1Op(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[2]);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ABGR_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 testBitBltCheckerBufferedImageType4ByteABGRPreRotateTransformation3Nearest1Op(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[3]);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ABGR_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 testBitBltCheckerBufferedImageType4ByteABGRPreRotateTransformation4Nearest1Op(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[4]);
+ }
+
+ /**
+ Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ABGR_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 testBitBltCheckerBufferedImageType4ByteABGRPreRotateTransformation5Nearest1Op(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltCheckerBufferedImageType4ByteABGRPre(image, graphics2d, RotateTransformationNearest1Op[5]);
+ }
+
+ /**
* Entry point to the test suite.
*
* @param args not used in this case
More information about the distro-pkg-dev
mailing list