# HG changeset patch # User Pavel Tisnovsky # Date 1454676308 -3600 # Node ID a79cf268dd7c72eee71e0d04ffebfe810817d64c # Parent ab3e65563718f4369a6c0ce65a01f1b80a78ef81 Added eight new tests into BitBltUsingBgColor. diff -r ab3e65563718 -r a79cf268dd7c ChangeLog --- a/ChangeLog Thu Feb 04 10:53:08 2016 +0100 +++ b/ChangeLog Fri Feb 05 13:45:08 2016 +0100 @@ -1,3 +1,8 @@ +2016-02-05 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/BitBltUsingBgColor.java: + Added eight new tests into BitBltUsingBgColor. + 2016-02-04 Pavel Tisnovsky * src/org/gfxtest/testsuites/BitBltUsingBgColor.java: diff -r ab3e65563718 -r a79cf268dd7c src/org/gfxtest/testsuites/BitBltUsingBgColor.java --- a/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Thu Feb 04 10:53:08 2016 +0100 +++ b/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Fri Feb 05 13:45:08 2016 +0100 @@ -15976,6 +15976,126 @@ } /** + * Test basic BitBlt operation for diagonal grid buffered image with type {@link BufferedImage#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 testBitBltDiagonalGridBufferedImageTypeUshort565RGBBackgroundBlack(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalGridBufferedImageTypeUshort565RGB(image, graphics2d, Color.black); + } + + /** + * Test basic BitBlt operation for diagonal grid buffered image with type {@link BufferedImage#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 testBitBltDiagonalGridBufferedImageTypeUshort565RGBBackgroundBlue(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalGridBufferedImageTypeUshort565RGB(image, graphics2d, Color.blue); + } + + /** + * Test basic BitBlt operation for diagonal grid buffered image with type {@link BufferedImage#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 testBitBltDiagonalGridBufferedImageTypeUshort565RGBBackgroundGreen(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalGridBufferedImageTypeUshort565RGB(image, graphics2d, Color.green); + } + + /** + * Test basic BitBlt operation for diagonal grid buffered image with type {@link BufferedImage#TYPE_USHORT_565_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 testBitBltDiagonalGridBufferedImageTypeUshort565RGBBackgroundCyan(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalGridBufferedImageTypeUshort565RGB(image, graphics2d, Color.cyan); + } + + /** + * Test basic BitBlt operation for diagonal grid buffered image with type {@link BufferedImage#TYPE_USHORT_565_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 testBitBltDiagonalGridBufferedImageTypeUshort565RGBBackgroundRed(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalGridBufferedImageTypeUshort565RGB(image, graphics2d, Color.red); + } + + /** + * Test basic BitBlt operation for diagonal grid buffered image with type {@link BufferedImage#TYPE_USHORT_565_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 testBitBltDiagonalGridBufferedImageTypeUshort565RGBBackgroundMagenta(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalGridBufferedImageTypeUshort565RGB(image, graphics2d, Color.magenta); + } + + /** + * Test basic BitBlt operation for diagonal grid buffered image with type {@link BufferedImage#TYPE_USHORT_565_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 testBitBltDiagonalGridBufferedImageTypeUshort565RGBBackgroundYellow(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalGridBufferedImageTypeUshort565RGB(image, graphics2d, Color.yellow); + } + + /** + * Test basic BitBlt operation for diagonal grid buffered image with type {@link BufferedImage#TYPE_USHORT_565_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 testBitBltDiagonalGridBufferedImageTypeUshort565RGBBackgroundWhite(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalGridBufferedImageTypeUshort565RGB(image, graphics2d, Color.white); + } + + /** * Entry point to the test suite. * * @param args not used in this case