/hg/gfx-test: Ten new tests added into BitBltAffineQuadrantRotat...
ptisnovs at icedtea.classpath.org
ptisnovs at icedtea.classpath.org
Tue Feb 25 01:51:21 PST 2014
changeset 9ec4c2126a1a in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=9ec4c2126a1a
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Tue Feb 25 10:52:03 2014 +0100
Ten new tests added into BitBltAffineQuadrantRotateTransformOp.
diffstat:
ChangeLog | 5 +
src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java | 140 ++++++++++
2 files changed, 145 insertions(+), 0 deletions(-)
diffs (162 lines):
diff -r 47c220990ab6 -r 9ec4c2126a1a ChangeLog
--- a/ChangeLog Mon Feb 24 10:46:55 2014 +0100
+++ b/ChangeLog Tue Feb 25 10:52:03 2014 +0100
@@ -1,3 +1,8 @@
+2014-02-25 Pavel Tisnovsky <ptisnovs at redhat.com>
+
+ * src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java:
+ Ten new tests added into BitBltAffineQuadrantRotateTransformOp.
+
2014-02-24 Pavel Tisnovsky <ptisnovs at redhat.com>
* src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java:
diff -r 47c220990ab6 -r 9ec4c2126a1a src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java
--- a/src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java Mon Feb 24 10:46:55 2014 +0100
+++ b/src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java Tue Feb 25 10:52:03 2014 +0100
@@ -529,6 +529,146 @@
}
/**
+ * Test basic BitBlt operation for empty buffered image with type TYPE_BYTE_GRAY.
+ *
+ * @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 testBitBltEmptyBufferedImageTypeByteGrayRotateTransformation0Nearest1Op(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltEmptyBufferedImageTypeByteGray(image, graphics2d, RotateTransformationNearest1Op[0]);
+ }
+
+ /**
+ * Test basic BitBlt operation for empty buffered image with type TYPE_BYTE_GRAY.
+ *
+ * @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 testBitBltEmptyBufferedImageTypeByteGrayRotateTransformation1Nearest1Op(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltEmptyBufferedImageTypeByteGray(image, graphics2d, RotateTransformationNearest1Op[1]);
+ }
+
+ /**
+ * Test basic BitBlt operation for empty buffered image with type TYPE_BYTE_GRAY.
+ *
+ * @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 testBitBltEmptyBufferedImageTypeByteGrayRotateTransformation2Nearest1Op(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltEmptyBufferedImageTypeByteGray(image, graphics2d, RotateTransformationNearest1Op[2]);
+ }
+
+ /**
+ * Test basic BitBlt operation for empty buffered image with type TYPE_BYTE_GRAY.
+ *
+ * @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 testBitBltEmptyBufferedImageTypeByteGrayRotateTransformation3Nearest1Op(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltEmptyBufferedImageTypeByteGray(image, graphics2d, RotateTransformationNearest1Op[3]);
+ }
+
+ /**
+ * Test basic BitBlt operation for empty buffered image with type TYPE_BYTE_GRAY.
+ *
+ * @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 testBitBltEmptyBufferedImageTypeByteGrayRotateTransformation4Nearest1Op(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltEmptyBufferedImageTypeByteGray(image, graphics2d, RotateTransformationNearest1Op[4]);
+ }
+
+ /**
+ Test basic BitBlt operation for empty buffered image with type TYPE_BYTE_GRAY.
+ *
+ * @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 testBitBltEmptyBufferedImageTypeByteGrayRotateTransformation5Nearest1Op(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltEmptyBufferedImageTypeByteGray(image, graphics2d, RotateTransformationNearest1Op[5]);
+ }
+
+ /**
+ * Test basic BitBlt operation for empty buffered image with type TYPE_CUSTOM.
+ *
+ * @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 testBitBltEmptyBufferedImageTypeCustomRotateTransformation0Nearest1Op(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltEmptyBufferedImageTypeCustom(image, graphics2d, RotateTransformationNearest1Op[0]);
+ }
+
+ /**
+ * Test basic BitBlt operation for empty buffered image with type TYPE_CUSTOM.
+ *
+ * @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 testBitBltEmptyBufferedImageTypeCustomRotateTransformation1Nearest1Op(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltEmptyBufferedImageTypeCustom(image, graphics2d, RotateTransformationNearest1Op[1]);
+ }
+
+ /**
+ * Test basic BitBlt operation for empty buffered image with type TYPE_CUSTOM.
+ *
+ * @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 testBitBltEmptyBufferedImageTypeCustomRotateTransformation2Nearest1Op(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltEmptyBufferedImageTypeCustom(image, graphics2d, RotateTransformationNearest1Op[2]);
+ }
+
+ /**
+ * Test basic BitBlt operation for empty buffered image with type TYPE_CUSTOM.
+ *
+ * @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 testBitBltEmptyBufferedImageTypeCustomRotateTransformation3Nearest1Op(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltEmptyBufferedImageTypeCustom(image, graphics2d, RotateTransformationNearest1Op[3]);
+ }
+
+ /**
* Test basic BitBlt operation for checker buffered image with type TYPE_3BYTE_BGR.
*
* @param image
More information about the distro-pkg-dev
mailing list