# HG changeset patch # User Pavel Tisnovsky # Date 1447417565 -3600 # Node ID fd109a931f893b70ca140c391343c89570280655 # Parent ca22de51d01c0d1a285bec154416521d09e72107 Three tests added into BitBltUsingBgColor. diff -r ca22de51d01c -r fd109a931f89 ChangeLog --- a/ChangeLog Fri Nov 13 13:24:14 2015 +0100 +++ b/ChangeLog Fri Nov 13 13:26:05 2015 +0100 @@ -1,3 +1,8 @@ +2015-11-13 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/BitBltUsingBgColor.java: + Three tests added into BitBltUsingBgColor. + 2015-11-13 Pavel Tisnovsky * src/org/gfxtest/testsuites/BitBltUsingBgColor.java: diff -r ca22de51d01c -r fd109a931f89 src/org/gfxtest/testsuites/BitBltUsingBgColor.java --- a/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Fri Nov 13 13:24:14 2015 +0100 +++ b/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Fri Nov 13 13:26:05 2015 +0100 @@ -14611,6 +14611,51 @@ } /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_CUSTOM}. + * 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 testBitBltGridBufferedImageTypeCustomBackgroundMagenta(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageTypeCustom(image, graphics2d, Color.magenta); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_CUSTOM}. + * 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 testBitBltGridBufferedImageTypeCustomBackgroundYellow(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageTypeCustom(image, graphics2d, Color.yellow); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_CUSTOM}. + * 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 testBitBltGridBufferedImageTypeCustomBackgroundWhite(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageTypeCustom(image, graphics2d, Color.white); + } + + /** * Entry point to the test suite. * * @param args not used in this case