Mercurial > hg > gfx-test
changeset 720:5a425b8ae188 draft
Updated.
author | Pavel Tisnovsky <ptisnovs@redhat.com> |
---|---|
date | Tue, 12 May 2015 13:10:04 +0200 |
parents | 203023f7f716 |
children | f05e2ced3afa |
files | ChangeLog src/org/gfxtest/testsuites/BitBltUsingBgColor.java |
diffstat | 2 files changed, 109 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon May 11 10:25:34 2015 +0200 +++ b/ChangeLog Tue May 12 13:10:04 2015 +0200 @@ -1,3 +1,8 @@ +2015-05-12 Pavel Tisnovsky <ptisnovs@redhat.com> + + * src/org/gfxtest/testsuites/BitBltUsingBgColor.java: + Updated. + 2015-05-11 Pavel Tisnovsky <ptisnovs@redhat.com> * src/org/gfxtest/testsuites/BitBltUsingBgColor.java:
--- a/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Mon May 11 10:25:34 2015 +0200 +++ b/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Tue May 12 13:10:04 2015 +0200 @@ -8386,6 +8386,66 @@ } /** + * Test basic BitBlt operation for empty buffered image with type {@link BufferedImage#TYPE_INT_BGR}. + * 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 testBitBltEmptyBufferedImageTypeIntBGRbackgroundYellow(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageTypeIntBGR(image, graphics2d, Color.yellow); + } + + /** + * Test basic BitBlt operation for empty buffered image with type {@link BufferedImage#TYPE_INT_BGR}. + * 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 testBitBltEmptyBufferedImageTypeIntBGRbackgroundWhite(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageTypeIntBGR(image, graphics2d, Color.white); + } + + /** + * Test basic BitBlt operation for empty buffered image with type {@link BufferedImage#TYPE_INT_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 testBitBltEmptyBufferedImageTypeIntRGBbackgroundBlack(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageTypeIntRGB(image, graphics2d, Color.black); + } + + /** + * Test basic BitBlt operation for empty buffered image with type {@link BufferedImage#TYPE_INT_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 testBitBltEmptyBufferedImageTypeIntRGBbackgroundBlue(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageTypeIntRGB(image, graphics2d, Color.blue); + } + + /** * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR_Pre. * Background color is set to Color.black. * @@ -13231,6 +13291,50 @@ } /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_BYTE_GRAY}. + * 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 testBitBltGridBufferedImageTypeUshortGrayBackgroundMagenta(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageTypeUshortGray(image, graphics2d, Color.magenta); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_BYTE_GRAY}. + * 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 testBitBltGridBufferedImageTypeUshortGrayBackgroundYellow(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageTypeUshortGray(image, graphics2d, Color.yellow); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_BYTE_GRAY}. + * 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 testBitBltGridBufferedImageTypeUshortGrayBackgroundWhite(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageTypeUshortGray(image, graphics2d, Color.white); + } + /** * Entry point to the test suite. * * @param args not used in this case