/hg/gfx-test: Eight new tests added into BitBltUsingBgColor test...
ptisnovs at icedtea.classpath.org
ptisnovs at icedtea.classpath.org
Fri Mar 7 12:08:43 UTC 2014
changeset 154d24fa3f31 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=154d24fa3f31
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Fri Mar 07 13:09:25 2014 +0100
Eight new tests added into BitBltUsingBgColor test suite.
diffstat:
ChangeLog | 5 +
src/org/gfxtest/testsuites/BitBltUsingBgColor.java | 120 +++++++++++++++++++++
2 files changed, 125 insertions(+), 0 deletions(-)
diffs (142 lines):
diff -r 219ddc3bf108 -r 154d24fa3f31 ChangeLog
--- a/ChangeLog Tue Mar 04 11:04:28 2014 +0100
+++ b/ChangeLog Fri Mar 07 13:09:25 2014 +0100
@@ -1,3 +1,8 @@
+2014-03-07 Pavel Tisnovsky <ptisnovs at redhat.com>
+
+ * src/org/gfxtest/testsuites/BitBltUsingBgColor.java:
+ Eight new tests added into BitBltUsingBgColor test suite.
+
2014-03-04 Pavel Tisnovsky <ptisnovs at redhat.com>
* src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java:
diff -r 219ddc3bf108 -r 154d24fa3f31 src/org/gfxtest/testsuites/BitBltUsingBgColor.java
--- a/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Tue Mar 04 11:04:28 2014 +0100
+++ b/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Fri Mar 07 13:09:25 2014 +0100
@@ -5552,6 +5552,126 @@
}
/**
+ * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_USHORT_555_RGB.
+ * Background color is set to Color.cyan.
+ *
+ * @param image
+ * image to be used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltDiagonalCheckerBufferedImageTypeUshort555RGBBackgroundCyan(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltDiagonalCheckerBufferedImageTypeUshort555RGB(image, graphics2d, Color.cyan);
+ }
+
+ /**
+ * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_USHORT_555_RGB.
+ * Background color is set to Color.red.
+ *
+ * @param image
+ * image to be used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltDiagonalCheckerBufferedImageTypeUshort555RGBBackgroundRed(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltDiagonalCheckerBufferedImageTypeUshort555RGB(image, graphics2d, Color.red);
+ }
+
+ /**
+ * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_USHORT_555_RGB.
+ * Background color is set to Color.magenta.
+ *
+ * @param image
+ * image to be used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltDiagonalCheckerBufferedImageTypeUshort555RGBBackgroundMagenta(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltDiagonalCheckerBufferedImageTypeUshort555RGB(image, graphics2d, Color.magenta);
+ }
+
+ /**
+ * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_USHORT_555_RGB.
+ * Background color is set to Color.yellow.
+ *
+ * @param image
+ * image to be used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltDiagonalCheckerBufferedImageTypeUshort555RGBBackgroundYellow(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltDiagonalCheckerBufferedImageTypeUshort555RGB(image, graphics2d, Color.yellow);
+ }
+
+ /**
+ * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_USHORT_555_RGB.
+ * Background color is set to Color.white.
+ *
+ * @param image
+ * image to be used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltDiagonalCheckerBufferedImageTypeUshort555RGBBackgroundWhite(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltDiagonalCheckerBufferedImageTypeUshort555RGB(image, graphics2d, Color.white);
+ }
+
+ /**
+ * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_USHORT_565_RGB.
+ * Background color is set to Color.black.
+ *
+ * @param image
+ * image to be used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltDiagonalCheckerBufferedImageTypeUshort565RGBBackgroundBlack(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltDiagonalCheckerBufferedImageTypeUshort565RGB(image, graphics2d, Color.black);
+ }
+
+ /**
+ * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_USHORT_565_RGB.
+ * Background color is set to Color.blue.
+ *
+ * @param image
+ * image to be used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltDiagonalCheckerBufferedImageTypeUshort565RGBBackgroundBlue(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltDiagonalCheckerBufferedImageTypeUshort565RGB(image, graphics2d, Color.blue);
+ }
+
+ /**
+ * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_USHORT_565_RGB.
+ * Background color is set to Color.green.
+ *
+ * @param image
+ * image to be used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltDiagonalCheckerBufferedImageTypeUshort565RGBBackgroundGreen(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltDiagonalCheckerBufferedImageTypeUshort565RGB(image, graphics2d, Color.green);
+ }
+
+ /**
* Entry point to the test suite.
*
* @param args not used in this case
More information about the distro-pkg-dev
mailing list