Mercurial > hg > gfx-test
changeset 735:5556f6317e9c draft
Updated several tests.
author | Pavel Tisnovsky <ptisnovs@redhat.com> |
---|---|
date | Thu, 02 Jul 2015 10:19:09 +0200 |
parents | d87d85bf1a4d |
children | 7104c1538b7d |
files | ChangeLog src/org/gfxtest/testsuites/BitBltUsingBgColor.java |
diffstat | 2 files changed, 90 insertions(+), 85 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Jul 01 13:02:13 2015 +0200 +++ b/ChangeLog Thu Jul 02 10:19:09 2015 +0200 @@ -1,3 +1,8 @@ +2015-07-02 Pavel Tisnovsky <ptisnovs@redhat.com> + + * src/org/gfxtest/testsuites/BitBltUsingBgColor.java: + Updated several tests. + 2015-07-01 Pavel Tisnovsky <ptisnovs@redhat.com> * src/org/gfxtest/testsuites/BitBltUsingBgColor.java:
--- a/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Wed Jul 01 13:02:13 2015 +0200 +++ b/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Thu Jul 02 10:19:09 2015 +0200 @@ -12511,7 +12511,7 @@ } /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB. + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * Background color is set to Color.white. * * @param image @@ -12520,13 +12520,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGBbackgroundWhite(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntARGB(image, graphics2d, Color.white); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB_PRE. + public TestResult testBitBltGridBufferedImageType3ByteBGRbackgroundWhite(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType3ByteBGR(image, graphics2d, Color.white); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * Background color is set to Color.black. * * @param image @@ -12535,13 +12535,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGB_Pre_backgroundBlack(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntARGBPre(image, graphics2d, Color.black); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB_PRE. + public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundBlack(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.black); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * Background color is set to Color.blue. * * @param image @@ -12550,13 +12550,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGB_Pre_backgroundBlue(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntARGBPre(image, graphics2d, Color.blue); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB_PRE. + public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundBlue(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.blue); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * Background color is set to Color.green. * * @param image @@ -12565,13 +12565,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGB_Pre_backgroundGreen(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntARGBPre(image, graphics2d, Color.green); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB_PRE. + public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundGreen(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.green); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * Background color is set to Color.cyan. * * @param image @@ -12580,13 +12580,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGB_Pre_backgroundCyan(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntARGBPre(image, graphics2d, Color.cyan); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB_PRE. + public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundCyan(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.cyan); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * Background color is set to Color.red. * * @param image @@ -12595,13 +12595,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGB_Pre_backgroundRed(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntARGBPre(image, graphics2d, Color.red); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB_PRE. + public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundRed(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.red); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * Background color is set to Color.magenta. * * @param image @@ -12610,13 +12610,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGB_Pre_backgroundMagenta(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntARGBPre(image, graphics2d, Color.magenta); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB_PRE. + public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundMagenta(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.magenta); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * Background color is set to Color.yellow. * * @param image @@ -12625,13 +12625,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGB_Pre_backgroundYellow(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntARGBPre(image, graphics2d, Color.yellow); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB_PRE. + public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundYellow(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.yellow); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * Background color is set to Color.white. * * @param image @@ -12640,13 +12640,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGB_Pre_backgroundWhite(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntARGBPre(image, graphics2d, Color.white); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_BYTE_BINARY. + public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundWhite(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.white); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR_Pre}. * Background color is set to Color.black. * * @param image @@ -12655,13 +12655,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeByteBinaryBackgroundBlack(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeByteBinary(image, graphics2d, Color.black); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_BYTE_BINARY. + public TestResult testBitBltGridBufferedImageType4ByteABGR_Pre_backgroundBlack(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR_Pre(image, graphics2d, Color.black); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR_Pre}. * Background color is set to Color.blue. * * @param image @@ -12670,13 +12670,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeByteBinaryBackgroundBlue(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeByteBinary(image, graphics2d, Color.blue); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_BYTE_BINARY. + public TestResult testBitBltGridBufferedImageType4ByteABGR_Pre_backgroundBlue(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR_Pre(image, graphics2d, Color.blue); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR_Pre}. * Background color is set to Color.green. * * @param image @@ -12685,13 +12685,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeByteBinaryBackgroundGreen(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeByteBinary(image, graphics2d, Color.green); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_BYTE_BINARY. + public TestResult testBitBltGridBufferedImageType4ByteABGR_Pre_backgroundGreen(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR_Pre(image, graphics2d, Color.green); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR_Pre}. * Background color is set to Color.cyan. * * @param image